Exemple #1
0
 public static void Uninitialize()
 {
     NetWork.UnregisterMessage(CTS.CTS_Login);
     NetWork.UnregisterMessage(CTS.CTS_Match);
     NetWork.UnregisterMessage(CTS.CTS_MatchReady);
 }
Exemple #2
0
 public static void Initialize()
 {
     NetWork.RegisterMessage(CTS.CTS_EnterLobby, OnEnterLobby);
     NetWork.RegisterMessage(CTS.CTS_Match, OnMatch);
     NetWork.RegisterMessage(CTS.CTS_MatchReady, OnMatchReady);
 }