public static void ReadCloseWindow(Client client, PacketReader reader) { CloseWindowPacket cw = new CloseWindowPacket(); cw.Read(reader); if (!reader.Failed) { Client.HandlePacketCloseWindow(client, cw); } }