Exemple #1
0
        public override async Task OnReceive(byte[] buffer)
        {
            var packet = new IncomingRealmPacket(buffer, buffer.Length);

            Console.WriteLine("Received: {0}", packet.PacketId.ToString());

            LoginHandler.ProcessPacket(this, packet);
        }
Exemple #2
0
 protected override bool OnClientConnected(IClient client)
 {
     base.OnClientConnected(client);
     LoginHandler.SendAuthChallenge(client);
     return(true);
 }