Пример #1
0
        internal MCGTable3(MCG mcg, int index, AssetLoader loader)
            : base(mcg, index)
        {
            var reader = loader.Reader;

            int count = reader.ReadInt32();

            Position = reader.ReadVector3f();
            Table1U1 = mcg.GetTable1Slice(count, reader.ReadInt32());
            Table1U2 = mcg.GetTable1Slice(count, reader.ReadInt32());
            Unknowns.ReadInt32s(reader, 2);
        }
Пример #2
0
        internal MCGTable2(MCG mcg, int index, AssetLoader loader)
            : base(mcg, index)
        {
            var reader = loader.Reader;

            Unknowns.ReadInt32s(reader, 1);

            int count1  = reader.ReadInt32();
            int offset1 = reader.ReadInt32();

            Table1U1 = mcg.GetTable1Slice(count1, offset1);

            Unknowns.ReadInt32s(reader, 1);

            int count2  = reader.ReadInt32();
            int offset2 = reader.ReadInt32();

            Table1U2 = mcg.GetTable1Slice(count2, offset2);

            Unknowns.ReadInt32s(reader, 2);

            Unknowns.ReadSingles(reader, 1);
        }