Inheritance: S3DBlock
Beispiel #1
0
        public BoneBlock_E902(EndianReader reader)
            : base(reader, 0xE902)
        {
            unk00 = reader.ReadSingle();

            _FA02 = new PosBlock_FA02(reader);

            if (reader.PeekUInt16() == 0xEA02)
            {
                _EA02 = new unkBlock_XXXX(reader, 0xEA02);
            }

            _FB02 = new Block_FB02(reader);

            if (reader.PeekUInt16() == 0xEB02)
            {
                _EB02 = new unkBlock_XXXX(reader, 0xEB02);
            }

            _FC02 = new Block_FC02(reader);

            if (reader.PeekUInt16() == 0xEC02)
            {
                _EC02 = new unkBlock_XXXX(reader, 0xEC02);
            }

            _0A03 = new Block_0A03(reader);

            if (reader.PeekUInt16() == 0xED02)
            {
                _ED02 = new unkBlock_XXXX(reader, 0xED02);
            }

            //technically not part of the block
            reader.ReadInt16(); //0100
            reader.ReadInt32(); //address
        }
Beispiel #2
0
        public BoneBlock_E902(EndianReader reader)
            : base(reader, 0xE902)
        {
            unk00 = reader.ReadSingle();

            _FA02 = new PosBlock_FA02(reader);

            if (reader.PeekUInt16() == 0xEA02)
                _EA02 = new unkBlock_XXXX(reader, 0xEA02);

            _FB02 = new Block_FB02(reader);

            if (reader.PeekUInt16() == 0xEB02)
                _EB02 = new unkBlock_XXXX(reader, 0xEB02);

            _FC02 = new Block_FC02(reader);

            if (reader.PeekUInt16() == 0xEC02)
                _EC02 = new unkBlock_XXXX(reader, 0xEC02);

            _0A03 = new Block_0A03(reader);

            if (reader.PeekUInt16() == 0xED02)
                _ED02 = new unkBlock_XXXX(reader, 0xED02);

            //technically not part of the block
            reader.ReadInt16(); //0100
            reader.ReadInt32(); //address
        }