Attributes
Namespace: SynicSugar.MatchMake
Class: Lobby
public List<LobbyAttribute> Attributes
Description
Attributes associated with the lobby.
using SynicSugar.MatchMake;
using UnityEngine;
public class LobbyCondition : MonoBehaviour {
void SetLobbyConditions(){
Lobby lobby = new Lobby();
LobbyAttribute attribute = new LobbyAttribute();
attribute.Key = "Level";
attribute.SetValue(3);
attribute.ComparisonOperator = Epic.OnlineServices.ComparisonOp.Equal;
lobby.Attributes.Add(attribute);
}
}