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); }
public Action101(ActionGetter actionGetter) : base((short)101, actionGetter) { m_RequestPacket = new CLServerCommand(); m_ResponsePacket = new LCServerCommand(); }