예제 #1
0
        private void GetOnlinePlayerCount()
        {
            LCServerCommand response = new LCServerCommand()
            {
                Success = true,
                Info    = LobbyServerUtils.GetOnlinePlayerCount().ToString()
            };

            byte[] buffer = ProtoBufUtils.Serialize(response);
            actionGetter.GetSession().SendAsync(buffer, 0, buffer.Length);
        }
예제 #2
0
 public Action101(ActionGetter actionGetter)
     : base((short)101, actionGetter)
 {
     m_RequestPacket  = new CLServerCommand();
     m_ResponsePacket = new LCServerCommand();
 }