private static void WriteMdbPacket(this BinaryWriter writer, MdbPacket_COLS packet)
 {
     writer.Write(packet.NumItems);
     foreach (var i in packet.Items)
     {
         writer.Write(i);
     }
 }
        private static MdbPacket_COLS ReadMdbPacket_COLS(this BinaryReader reader, UInt32 size)
        {
            var ret = new MdbPacket_COLS();

            ret.NumItems = reader.ReadUInt32();
            ret.Items    = new CSphere[ret.NumItems];
            for (int i = 0; i < ret.NumItems; ++i)
            {
                ret.Items[i] = reader.ReadCSphere();
            }

            return(ret);
        }