public static void ReadEncryptionResponse(Client client, PacketReader reader) { EncryptionKeyResponse ekr = new EncryptionKeyResponse(); ekr.Read(reader); if (!reader.Failed) { Client.HandlePacketEncryptionResponse(client, ekr); } }