Example #1
0
        public Chunk_MOGI(WMOFile file)
            : base(file, "MOGI", Magic)
        {
            int groupCount = (int)ChunkSize / 32;
            groups = new GroupInformation[groupCount];

            for (int i = 0; i < groupCount; i++)
                groups[i] = GroupInformation.Read(file);

            LogWrite("Loaded " + groupCount + " group information modules.");
        }
Example #2
0
 public static GroupInformation Read(FormatBase input)
 {
     GroupInformation temp = new GroupInformation();
     Stuffer.Stuff(temp, input, "GroupInformation", true);
     return temp;
 }