public void ExecuteIncomingPacket(Player player, IncomingPacket packet) { if (packet.PacketId == IncomingHeaders.SSOTicketMessageEvent) { if (_authenticationPassed) return; _authenticationPassed = true; } Apple.PacketManager.ExecuteIncomingPacket(player, packet); }
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 }
public void handleIncomingPacket(Player player, IncomingPacket packet) { player.SendPacket(new InitCryptoComposer()); }