Пример #1
0
 /// <summary>
 /// Whether or not the given Medius lobby message id should be logged
 /// </summary>
 public bool IsLog(MediusLobbyMessageIds msgType)
 {
     return(_lobbyLogFilters.TryGetValue(msgType, out var r) && r);
 }
Пример #2
0
 public MediusMessageAttribute(NetMessageTypes msgClass, MediusLobbyMessageIds msgType)
 {
     MessageClass = msgClass;
     MessageType  = (byte)msgType;
 }