Inheritance: global::ProtoBuf.IExtensible
 private void HandleRegisterRoomServer(Msg_RL_RegisterRoomServer msg_, PBChannel channel, int src, uint session)
 {
     m_RoomProcessThread.RegisterRoomServer(new RoomServerInfo {
         RoomServerName = msg_.ServerName,
         MaxRoomNum = msg_.MaxRoomNum,
         ServerIp = msg_.ServerIp,
         ServerPort = msg_.ServerPort
     });
 }
Exemplo n.º 2
0
 private void SendRegisterRoomServer()
 {
     Msg_RL_RegisterRoomServer rrsBuilder = new Msg_RL_RegisterRoomServer();
     rrsBuilder.ServerName = room_server_name_;
     rrsBuilder.MaxRoomNum = 1024;
     rrsBuilder.ServerIp = server_ip_;
     rrsBuilder.ServerPort = server_port_;
     channel_.Send(rrsBuilder);
     LogSys.Log(LOG_TYPE.DEBUG, "register room server to Lobby.");
 }