private void RegisterMsgHandler(LobbyMessageDefine id, Type headerType, Type protoType, NodeMessageHandlerDelegate handler)
 {
     NodeMessageDispatcher.RegisterMessageHandler((int)id, headerType, protoType, handler);
 }
 internal static void RegisterMessageHandler(int id, Type type, Type protoType, NodeMessageHandlerDelegate handler)
 {
     if (s_Inited) {
     if (id >= 0 && id < (int)LobbyMessageDefine.MaxNum) {
       s_MessageHandlers[id].m_Type = type;
       s_MessageHandlers[id].m_ProtoType = protoType;
       s_MessageHandlers[id].m_Handler = handler;
     }
       }
 }
 private void RegisterMsgHandler(LobbyMessageDefine id, Type headerType, Type protoType, NodeMessageHandlerDelegate handler)
 {
     NodeMessageDispatcher.RegisterMessageHandler((int)id, headerType, protoType, handler);
 }
 internal static void RegisterMessageHandler(int id, Type type, Type protoType, NodeMessageHandlerDelegate handler)
 {
     if (s_Inited)
     {
         if (id >= 0 && id < (int)LobbyMessageDefine.MaxNum)
         {
             s_MessageHandlers[id].m_Type      = type;
             s_MessageHandlers[id].m_ProtoType = protoType;
             s_MessageHandlers[id].m_Handler   = handler;
         }
     }
 }