Exemplo n.º 1
0
        public override void Open(HSDReader Reader)
        {
            base.Open(Reader);

            GroupsUnk2_1 = new HSD_Array <KAR_GrUnk2_1Model>(Size);
            Reader.Seek(Offset);
            GroupsUnk2_1.Open(Reader);
        }
Exemplo n.º 2
0
        public override void Open(HSDReader Reader)
        {
            base.Open(Reader);
            uint BaseOffset = Reader.Position();

            GroupsUnk2_1D = new HSD_Array <KAR_GrUnk2_1DModel>(Size);
            Reader.Seek(Offset);
            GroupsUnk2_1D.Open(Reader);

            Reader.Seek(BaseOffset);
        }
Exemplo n.º 3
0
        public override void Open(HSDReader Reader)
        {
            Reader.PrintPosition();
            base.Open(Reader);

            ViewRegion = new HSD_Array <KAR_GrViewRegion>(SizeUnk1_1);
            Reader.Seek(OffsetUnk1_1);
            ViewRegion.Open(Reader);

            GroupsUnk1_2 = new HSD_Array <KAR_GrModel_ModelUnk1_2>(SizeUnk1_2);
            Reader.Seek(OffsetUnk1_2);
            GroupsUnk1_2.Open(Reader);

            GroupsUnk1_3 = new HSD_Array <KAR_GrBoundingBox>(SizeUnk1_3);
            Reader.Seek(OffsetUnk1_3);
            GroupsUnk1_3.Open(Reader);

            DOBJIndices.Clear();
            Reader.Seek(OffsetUnk1_4);
            for (int i = 0; i < SizeUnk1_4; i++)
            {
                DOBJIndices.Add(Reader.ReadUInt16());
            }
        }