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

                _authenticationPassed = true;
            }

            Apple.PacketManager.ExecuteIncomingPacket(player, packet);
        }
示例#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)
 {
 }
示例#4
0
 public void handleIncomingPacket(Player player, IncomingPacket packet)
 {
     // this can be left blank
 }
示例#5
0
 public void handleIncomingPacket(Player player, IncomingPacket packet)
 {
     player.SendPacket(new InitCryptoComposer());
 }