Beispiel #1
0
        public override void SendMessage(Server.BaseMessage msg)
        {
            var data = msg.Serialize();

            if (data.Count(x => x == 0) > 1)
            {
                Console.WriteLine($"Packet {msg.MessageId} has 0x0 in it.");
            }

            _socketService.Send(data);
        }
Beispiel #2
0
 public abstract void SendMessage(Server.BaseMessage msg);