Ejemplo n.º 1
0
        public static PacketProcessResult HandlePlayerLogin(PacketProcessor p)
        {
            CMSG_PLAYER_LOGIN pkt = new CMSG_PLAYER_LOGIN();
            pkt.Read(p.CurrentPacket);

            p.ClientConnection.CurrentSession.HandlePlayerLogin(pkt);

            return PacketProcessResult.Processed;
        }
Ejemplo n.º 2
0
 public async Task HandlePlayerLogin(CMSG_PLAYER_LOGIN pkt)
 {
     if (!IsAuthedRealmSession())
         return;
     await Account.PlayerLogin(pkt);
 }