AttributeData 

    Namespace: SynicSugar.MatchMake

    Description 

    Attributes associated with Lobby to serach and create lobby.
    Max 100 attributes can be set.

    Properity 

    APIdescription
    KeyThe Key for this attribute
    BOOLEANThe value when it was set as bool
    INT64The value when it was set as INT64
    DOUBLEThe value when it was set as DOUBLE
    STRINGThe value when it was set as STRING
    ValueTypeThe value type of holding
    ComparisonOpComparisonOp for this attribute

    Function 

    APIdescription
    SetValueSet a value to the attribute
    GetValueAsStringGet value as string from attribute

    Static Function 

    APIdescription
    GetValueAsStringGet specific key value as string from attribute list
    using System.Collections.Generic;
    using SynicSugar.MatchMake;
    using UnityEngine;
    
    public class MatchMakeSample {
        public void AttributeDebug(){
            List<AttributeData> attributes = MatchMakeManager.Instance.GetTargetAttributeData(target);
            foreach(var a in attributes){
                //If this API is not used, we need to get a value from the same type variable with ValueType.
                Debug.LogFormat("Key: {0} / Value: {1}", a.Key, a.GetValueAsString());
            }
        }
    }