internal bool RegClientMsgHandler(RoomMessageDefine msg, ClientMsgHandler handler)
 {
     if (client_msg_handlers_.ContainsKey((int)msg)) {
     return false;
       }
       client_msg_handlers_.Add((int)msg, handler);
       return true;
 }
Exemple #2
0
 public bool RegClientMsgHandler(RoomMessageDefine msg, ClientMsgHandler handler)
 {
     if (client_msg_handlers_.ContainsKey((int)msg))
     {
         return(false);
     }
     client_msg_handlers_.Add((int)msg, handler);
     return(true);
 }
Exemple #3
0
 internal bool RegClientMsgHandler(Type msg, ClientMsgHandler handler)
 {
     if (client_msg_handlers_.ContainsKey(msg))
     {
         return(false);
     }
     client_msg_handlers_.Add(msg, handler);
     return(true);
 }
Exemple #4
0
 public void SetClientDefaultHandler(ClientMsgHandler handler)
 {
     client_default_handler_ = handler;
 }
Exemple #5
0
 internal void SetClientDefaultHandler(ClientMsgHandler handler)
 {
     client_default_handler_ = handler;
 }
 internal void SetClientDefaultHandler(ClientMsgHandler handler)
 {
     client_default_handler_ = handler;
 }