예제 #1
0
 public static void RegisterLobbyHeartMessageHandler()
 {
     NetworkManager.RegisterServerMessageHandler(MsgCode.PingLobbyMessage, HandlePingLobbyFeedback);
 }
예제 #2
0
 public static void RegisterSocialHeartMessageHandler()
 {
     NetworkManager.RegisterServerMessageHandler(ServerType.SocialServer, MsgCode.PingSocialServer, HandlePingSocialFeedback);
     connectSocialServer = true;
 }
예제 #3
0
        public static void RegisterGameHeartMessageHandler()
        {
            NetworkManager.RegisterServerMessageHandler(MsgCode.PingGameMessage, HandlePingGameFeedback);

            NetworkManager.RegisterServerMessageHandler(MsgCode.ReconnectGameMessage, HandleReconnectGameServerFeedback);
        }