public void ExecuteIncomingPacket(Player player, IncomingPacket packet)
        {
            if (packet.PacketId == IncomingHeaders.SSOTicketMessageEvent)
            {
                if (_authenticationPassed)
                    return;

                _authenticationPassed = true;
            }

            Apple.PacketManager.ExecuteIncomingPacket(player, packet);
        }
Beispiel #2
0
        public void ExecuteIncomingPacket(Player player, IncomingPacket packet)
        {
            IPacketEvent Pak = null;

            if (!_packets.TryGetValue(packet.PacketId, out Pak))
            {
                _log.Warn("Unhandled packet " + packet.PacketId);
                return;
            }

            Pak.handleIncomingPacket(player, packet);
            _log.Info("Handled packet " + packet.PacketId);
        }
 public void handleIncomingPacket(Player player, IncomingPacket packet)
 {
 }
 public void handleIncomingPacket(Player player, IncomingPacket packet)
 {
     // this can be left blank
 }
Beispiel #5
0
 public void handleIncomingPacket(Player player, IncomingPacket packet)
 {
     player.SendPacket(new InitCryptoComposer());
 }