コード例 #1
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Entries = reader.ReadBlock <ResourceSimpleList64 <VehicleRecordsEntry> >();
        }
コード例 #2
0
 /// <summary>
 /// Reads the data-block from a stream.
 /// </summary>
 public override void Read(ResourceDataReader reader, params object[] parameters)
 {
     // read structure data
     this.Unknown_0h  = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_006> >();
     this.Hash        = reader.ReadUInt32();
     this.Unknown_14h = reader.ReadUInt32();
 }
コード例 #3
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Poses                 = reader.ReadBlock <ResourceSimpleList64 <DataVec3V> >();
            this.ControllerPointer     = reader.ReadUInt64();
            this.BoundCompositePointer = reader.ReadUInt64();
            this.Unknown_30h           = reader.ReadBlock <SimpleList64 <uint> >();
            this.Unknown_40h           = reader.ReadUInt64();
            this.Unknown_48h           = reader.ReadUInt64();
            this.Unknown_50h           = reader.ReadMatrix4x4();
            this.BoneIndex             = reader.ReadBlock <SimpleList64 <uint> >();
            this.Unknown_A0h           = reader.ReadUInt64();
            this.Unknown_A8h           = reader.ReadUInt64();
            this.Unknown_B0h           = reader.ReadUInt64();
            this.Unknown_B8h           = reader.ReadUInt64();
            this.Unknown_C0h           = reader.ReadUInt32();
            this.Unknown_C4h           = reader.ReadUInt32();
            this.Unknown_C8h           = reader.ReadUInt64();

            // read reference data
            this.Controller = reader.ReadBlockAt <CharacterClothController>(
                this.ControllerPointer // offset
                );
            this.BoundComposite = reader.ReadBlockAt <BoundComposite>(
                this.BoundCompositePointer // offset
                );
        }
コード例 #4
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT         = reader.ReadUInt32();
            this.Unknown_4h  = reader.ReadUInt32();
            this.Unknown_8h  = reader.ReadUInt32();
            this.Unknown_Ch  = reader.ReadUInt32();
            this.Unknown_10h = reader.ReadUInt32();
            this.Unknown_14h = reader.ReadUInt32();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.Unknown_20h = reader.ReadBlock <ResourcePointerList64 <Unknown_E_001> >();
            this.Unknown_30h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_40h = reader.ReadBlock <ResourceSimpleList64 <Unknown_E_002> >();
            this.Unknown_50h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.NamePointer = reader.ReadUInt64();
            this.Unknown_68h = reader.ReadUInt32();
            this.Unknown_6Ch = reader.ReadUInt32();
            this.Unknown_70h = reader.ReadUInt32();
            this.Unknown_74h = reader.ReadUInt32();
            this.len         = reader.ReadUInt16();
            this.Unknown_7Ah = reader.ReadUInt16();
            this.Unknown_7Ch = reader.ReadUInt32();
            this.Unknown_80h = reader.ReadUInt32();
            this.Unknown_84h = reader.ReadUInt32();
            this.Unknown_88h = reader.ReadUInt32();
            this.Unknown_8Ch = reader.ReadUInt32();

            // read reference data
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
        }
コード例 #5
0
        public uint Unknown_6Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            this.Animations  = reader.ReadBlock <ResourceSimpleList64 <ClipAnimationsEntry> >();
            this.Duration    = reader.ReadSingle();
            this.Unknown_64h = reader.ReadUInt32();
            this.Unknown_68h = reader.ReadUInt32();
            this.Unknown_6Ch = reader.ReadUInt32();
        }
コード例 #6
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT         = reader.ReadUInt32();
            this.Unknown_4h  = reader.ReadUInt32();
            this.Unknown_8h  = reader.ReadUInt32();
            this.Unknown_Ch  = reader.ReadUInt32();
            this.p0          = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.p1          = reader.ReadUInt64();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
            this.Unknown_50h = reader.ReadUInt32();
            this.Unknown_54h = reader.ReadUInt32();
            this.Unknown_58h = reader.ReadUInt32();
            this.Unknown_5Ch = reader.ReadUInt32();
            this.Unknown_60h = reader.ReadUInt32();
            this.Unknown_64h = reader.ReadUInt32();
            this.Unknown_68h = reader.ReadUInt32();
            this.Unknown_6Ch = reader.ReadUInt32();
            this.Unknown_70h = reader.ReadUInt32();
            this.Unknown_74h = reader.ReadUInt32();
            this.Unknown_78h = reader.ReadUInt32();
            this.Unknown_7Ch = reader.ReadUInt32();
            this.Unknown_80h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_90h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_005> >();
            this.Unknown_A0h = reader.ReadUInt32();
            this.Unknown_A4h = reader.ReadUInt32();
            this.Unknown_A8h = reader.ReadUInt32();
            this.Unknown_ACh = reader.ReadUInt32();
            this.Unknown_B0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_C0h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_006> >();
            this.Unknown_D0h = reader.ReadUInt32();
            this.Unknown_D4h = reader.ReadUInt32();
            this.Unknown_D8h = reader.ReadUInt32();
            this.Unknown_DCh = reader.ReadUInt32();
            this.Unknown_E0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();

            // read reference data
            this.p0data = reader.ReadBlockAt <Unknown_C_003>(
                this.p0 // offset
                );
            this.p1data = reader.ReadBlockAt <Unknown_C_004>(
                this.p1 // offset
                );
        }
コード例 #7
0
        public uint Unknown_3Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.Unknown_0h  = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_008> >();
            this.Unknown_10h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_003> >();
            this.Unknown_20h = reader.ReadUInt32();
            this.Unknown_24h = reader.ReadUInt32();
            this.Unknown_28h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_010> >();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
        }
コード例 #8
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT               = reader.ReadUInt32();
            this.Unknown_4h        = reader.ReadUInt32();
            this.Unknown_8h        = reader.ReadUInt32();
            this.Unknown_Ch        = reader.ReadUInt32();
            this.Unknown_10h       = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_001> >();
            this.ControllerPointer = reader.ReadUInt64();
            this.BoundPointer      = reader.ReadUInt64();
            this.Unknown_30h       = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_40h       = reader.ReadUInt32();
            this.Unknown_44h       = reader.ReadUInt32();
            this.Unknown_48h       = reader.ReadUInt32();
            this.Unknown_4Ch       = reader.ReadUInt32();
            this.Unknown_50h       = reader.ReadUInt32();
            this.Unknown_54h       = reader.ReadUInt32();
            this.Unknown_58h       = reader.ReadUInt32();
            this.Unknown_5Ch       = reader.ReadUInt32();
            this.Unknown_60h       = reader.ReadUInt32();
            this.Unknown_64h       = reader.ReadUInt32();
            this.Unknown_68h       = reader.ReadUInt32();
            this.Unknown_6Ch       = reader.ReadUInt32();
            this.Unknown_70h       = reader.ReadUInt32();
            this.Unknown_74h       = reader.ReadUInt32();
            this.Unknown_78h       = reader.ReadUInt32();
            this.Unknown_7Ch       = reader.ReadUInt32();
            this.Unknown_80h       = reader.ReadUInt32();
            this.Unknown_84h       = reader.ReadUInt32();
            this.Unknown_88h       = reader.ReadUInt32();
            this.Unknown_8Ch       = reader.ReadUInt32();
            this.Unknown_90h       = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_A0h       = reader.ReadUInt32();
            this.Unknown_A4h       = reader.ReadUInt32();
            this.Unknown_A8h       = reader.ReadUInt32();
            this.Unknown_ACh       = reader.ReadUInt32();
            this.Unknown_B0h       = reader.ReadUInt32();
            this.Unknown_B4h       = reader.ReadUInt32();
            this.Unknown_B8h       = reader.ReadUInt32();
            this.Unknown_BCh       = reader.ReadUInt32();
            this.Unknown_C0h       = reader.ReadUInt32();
            this.Unknown_C4h       = reader.ReadUInt32();
            this.Unknown_C8h       = reader.ReadUInt32();
            this.Unknown_CCh       = reader.ReadUInt32();

            // read reference data
            this.Controller = reader.ReadBlockAt <CharacterClothController>(
                this.ControllerPointer // offset
                );
            this.Bound = reader.ReadBlockAt <Bound>(
                this.BoundPointer // offset
                );
        }
コード例 #9
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h      = reader.ReadUInt32();
            this.Unknown_14h      = reader.ReadUInt32();
            this.Unknown_18h      = reader.ReadUInt32();
            this.Unknown_1Ch      = reader.ReadUInt32();
            this.FilterNameHashes = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Filters          = reader.ReadBlock <ResourcePointerList64 <Filter> >();
        }
コード例 #10
0
        public uint Unknown_3Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT         = reader.ReadUInt32();
            this.Unknown_4h  = reader.ReadUInt32();
            this.Unknown_8h  = reader.ReadUInt32();
            this.Unknown_Ch  = reader.ReadUInt32();
            this.Unknown_10h = reader.ReadUInt32();
            this.Unknown_14h = reader.ReadUInt32();
            this.Unknown_18h = reader.ReadBlock <ResourceSimpleList64 <ulong_r> >();
            this.Unknown_28h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
        }
コード例 #11
0
 /// <summary>
 /// Reads the data-block from a stream.
 /// </summary>
 public override void Read(ResourceDataReader reader, params object[] parameters)
 {
     // read structure data
     this.VFT                    = reader.ReadUInt32();
     this.Unknown_4h             = reader.ReadUInt32();
     this.Unknown_8h             = reader.ReadUInt32();
     this.Unknown_Ch             = reader.ReadUInt32();
     this.Unknown_10h            = reader.ReadUInt32();
     this.Unknown_14h            = reader.ReadUInt32();
     this.Unknown_18h            = reader.ReadUInt32();
     this.Unknown_1Ch            = reader.ReadUInt32();
     this.ParticleRuleNameHashes = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
     this.ParticleRules          = reader.ReadBlock <ResourcePointerList64 <ParticleRule_GTA5_pc> >();
 }
コード例 #12
0
        public uint Unknown_4Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.Unknown_20h = reader.ReadUInt32();
            this.Unknown_24h = reader.ReadUInt32();
            this.Unknown_28h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_001> >();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
        }
コード例 #13
0
        public uint Unknown_13Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT          = reader.ReadUInt32();
            this.Unknown_4h   = reader.ReadUInt32();
            this.Unknown_8h   = reader.ReadUInt32();
            this.Unknown_Ch   = reader.ReadUInt32();
            this.Unknown_10h  = reader.ReadUInt32();
            this.Unknown_14h  = reader.ReadUInt32();
            this.Unknown_18h  = reader.ReadUInt32();
            this.Unknown_1Ch  = reader.ReadUInt32();
            this.Unknown_20h  = reader.ReadBlock <ResourceSimpleList64 <float_r> >();
            this.Unknown_30h  = reader.ReadBlock <ResourceSimpleList64 <float_r> >();
            this.Unknown_40h  = reader.ReadBlock <ResourceSimpleList64 <float_r> >();
            this.Unknown_50h  = reader.ReadUInt32();
            this.Unknown_54h  = reader.ReadUInt32();
            this.Unknown_58h  = reader.ReadUInt32();
            this.Unknown_5Ch  = reader.ReadUInt32();
            this.Unknown_60h  = reader.ReadBlock <ResourceSimpleList64 <float_r> >();
            this.Unknown_70h  = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_80h  = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_90h  = reader.ReadUInt32();
            this.Unknown_94h  = reader.ReadUInt32();
            this.Unknown_98h  = reader.ReadUInt32();
            this.Unknown_9Ch  = reader.ReadUInt32();
            this.Unknown_A0h  = reader.ReadBlock <ResourceSimpleList64 <float_r> >();
            this.Unknown_B0h  = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_C0h  = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_D0h  = reader.ReadUInt32();
            this.Unknown_D4h  = reader.ReadUInt32();
            this.Unknown_D8h  = reader.ReadUInt32();
            this.Unknown_DCh  = reader.ReadUInt32();
            this.Unknown_E0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_F0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_100h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_110h = reader.ReadUInt32();
            this.Unknown_114h = reader.ReadUInt32();
            this.Unknown_118h = reader.ReadUInt32();
            this.Unknown_11Ch = reader.ReadUInt32();
            this.Unknown_120h = reader.ReadUInt32();
            this.Unknown_124h = reader.ReadUInt32();
            this.Unknown_128h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_138h = reader.ReadUInt32();
            this.Unknown_13Ch = reader.ReadUInt32();
        }
コード例 #14
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.NamePointer     = reader.ReadUInt64();
            this.LightAttributes = reader.ReadBlock <ResourceSimpleList64 <LightAttributes> >();
            this.Unknown_C0h     = reader.ReadUInt64();
            this.BoundPointer    = reader.ReadUInt64();

            // read reference data
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
            this.Bound = reader.ReadBlockAt <Bound>(
                this.BoundPointer // offset
                );
        }
コード例 #15
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.TriIndices   = reader.ReadBlock <SimpleList64 <ushort> >();
            this.OriginalPos  = reader.ReadBlock <SimpleList64 <Vector4> >();
            this.Unknown_A0h  = reader.ReadSingle();
            this.Unknown_A4h  = reader.ReadUInt32();
            this.Unknown_A8h  = reader.ReadUInt32();
            this.Unknown_ACh  = reader.ReadUInt32();
            this.BoneIndexMap = reader.ReadBlock <SimpleList64 <uint> >();
            this.BindingInfo  = reader.ReadBlock <ResourceSimpleList64 <BindingInfo> >();
            this.Unknown_D0h  = reader.ReadUInt32();
            this.Unknown_D4h  = reader.ReadUInt32();
            this.Unknown_D8h  = reader.ReadUInt32();
            this.Unknown_DCh  = reader.ReadSingle();
            this.BoneIDMap    = reader.ReadBlock <SimpleList64 <uint> >();
        }
コード例 #16
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_80h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_90h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_002> >();
            this.Unknown_A0h = reader.ReadUInt32();
            this.Unknown_A4h = reader.ReadUInt32();
            this.Unknown_A8h = reader.ReadUInt32();
            this.Unknown_ACh = reader.ReadUInt32();
            this.Unknown_B0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_C0h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_003> >();
            this.Unknown_D0h = reader.ReadUInt32();
            this.Unknown_D4h = reader.ReadUInt32();
            this.Unknown_D8h = reader.ReadUInt32();
            this.Unknown_DCh = reader.ReadUInt32();
            this.Unknown_E0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
        }
コード例 #17
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h = reader.ReadUInt16();
            this.Unknown_12h = reader.ReadUInt16();
            this.Unknown_14h = reader.ReadUInt16();
            this.Unknown_16h = reader.ReadUInt16();
            this.Unknown_18h = reader.ReadSingle();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.Unknown_20h = reader.ReadUInt32();
            this.Unknown_24h = reader.ReadUInt32();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Sequences   = reader.ReadBlock <ResourcePointerList64 <Sequence> >();
            this.Unknown_50h = reader.ReadBlock <ResourceSimpleList64 <Animation_Unknown> >();
        }
コード例 #18
0
        public uint Unknown_8Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT         = reader.ReadUInt32();
            this.Unknown_4h  = reader.ReadUInt32();
            this.Unknown_8h  = reader.ReadUInt32();
            this.Unknown_Ch  = reader.ReadUInt32();
            this.Unknown_10h = reader.ReadUInt32();
            this.Unknown_14h = reader.ReadUInt32();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.Unknown_20h = reader.ReadUInt32();
            this.Unknown_24h = reader.ReadUInt32();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
            this.Unknown_50h = reader.ReadUInt32();
            this.Unknown_54h = reader.ReadUInt32();
            this.Unknown_58h = reader.ReadUInt32();
            this.Unknown_5Ch = reader.ReadUInt32();
            this.Unknown_60h = reader.ReadUInt32();
            this.Unknown_64h = reader.ReadUInt32();
            this.Unknown_68h = reader.ReadUInt32();
            this.Unknown_6Ch = reader.ReadUInt32();
            this.Unknown_70h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_011> >();
            this.Unknown_80h = reader.ReadUInt32();
            this.Unknown_84h = reader.ReadUInt32();
            this.Unknown_88h = reader.ReadUInt32();
            this.Unknown_8Ch = reader.ReadUInt32();
        }
コード例 #19
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.NodesPointer      = reader.ReadUInt64();
            this.NodesCount        = reader.ReadUInt32();
            this.Count2            = reader.ReadUInt32();
            this.Unknown_10h       = reader.ReadUInt32();
            this.Unknown_14h       = reader.ReadUInt32();
            this.Unknown_18h       = reader.ReadUInt32();
            this.Unknown_1Ch       = reader.ReadUInt32();
            this.BoundingBoxMin    = reader.ReadBlock <RAGE_Vector4>();
            this.BoundingBoxMax    = reader.ReadBlock <RAGE_Vector4>();
            this.BoundingBoxCenter = reader.ReadBlock <RAGE_Vector4>();
            this.QuantumInverse    = reader.ReadBlock <RAGE_Vector4>();
            this.Quantum           = reader.ReadBlock <RAGE_Vector4>();
            this.Trees             = reader.ReadBlock <ResourceSimpleList64 <BVHTreeInfo_GTA5_pc> >();

            // read reference data
            this.Nodes = reader.ReadBlockAt <ResourceSimpleArray2 <BVHNode_GTA5_pc, Unknown_B_003> >(
                this.NodesPointer, // offset
                this.NodesCount,
                this.Count2 - this.NodesCount
                );
        }
コード例 #20
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT          = reader.ReadUInt32();
            this.Unknown_4h   = reader.ReadUInt32();
            this.Unknown_8h   = reader.ReadUInt32();
            this.Unknown_Ch   = reader.ReadUInt32();
            this.Unknown_10h  = reader.ReadUInt32();
            this.Unknown_14h  = reader.ReadUInt32();
            this.Unknown_18h  = reader.ReadUInt32();
            this.Unknown_1Ch  = reader.ReadUInt32();
            this.emb1         = reader.ReadBlock <Unknown_P_020>();
            this.emb2         = reader.ReadBlock <Unknown_P_020>();
            this.Unknown_100h = reader.ReadUInt32();
            this.Unknown_104h = reader.ReadUInt32();
            this.Unknown_108h = reader.ReadUInt32();
            this.Unknown_10Ch = reader.ReadUInt32();
            this.Unknown_110h = reader.ReadUInt32();
            this.Unknown_114h = reader.ReadUInt32();
            this.Unknown_118h = reader.ReadUInt32();
            this.Unknown_11Ch = reader.ReadUInt32();
            this.NamePointer  = reader.ReadUInt64();
            this.Unknown_128h = reader.ReadBlock <ResourcePointerList64 <Behaviour_GTA5_pc> >();
            this.Unknown_138h = reader.ReadBlock <ResourcePointerList64 <Behaviour_GTA5_pc> >();
            this.Unknown_148h = reader.ReadBlock <ResourcePointerList64 <Behaviour_GTA5_pc> >();
            this.Unknown_158h = reader.ReadBlock <ResourcePointerList64 <Behaviour_GTA5_pc> >();
            this.Unknown_168h = reader.ReadBlock <ResourcePointerList64 <Behaviour_GTA5_pc> >();
            this.Unknown_178h = reader.ReadUInt32();
            this.Unknown_17Ch = reader.ReadUInt32();
            this.Unknown_180h = reader.ReadUInt32();
            this.Unknown_184h = reader.ReadUInt32();
            this.Unknown_188h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_032> >();
            this.Unknown_198h = reader.ReadUInt32();
            this.Unknown_19Ch = reader.ReadUInt32();
            this.Unknown_1A0h = reader.ReadUInt32();
            this.Unknown_1A4h = reader.ReadUInt32();
            this.Unknown_1A8h = reader.ReadUInt32();
            this.Unknown_1ACh = reader.ReadUInt32();
            this.VFTx3        = reader.ReadUInt32();
            this.Unknown_1B4h = reader.ReadUInt32();
            this.p9           = reader.ReadUInt64();
            this.p10          = reader.ReadUInt64();
            this.Unknown_1C8h = reader.ReadUInt32();
            this.Unknown_1CCh = reader.ReadUInt32();
            this.Unknown_1D0h = reader.ReadUInt32();
            this.Unknown_1D4h = reader.ReadUInt32();
            this.VFTx4        = reader.ReadUInt32();
            this.Unknown_1DCh = reader.ReadUInt32();
            this.Unknown_1E0h = reader.ReadUInt32();
            this.Unknown_1E4h = reader.ReadUInt32();
            this.Unknown_1E8h = reader.ReadUInt32();
            this.Unknown_1ECh = reader.ReadUInt32();
            this.Unknown_1F0h = reader.ReadBlock <ResourcePointerList64 <Unknown_P_007> >();
            this.Unknown_200h = reader.ReadUInt32();
            this.Unknown_204h = reader.ReadUInt32();
            this.Unknown_208h = reader.ReadUInt32();
            this.Unknown_20Ch = reader.ReadUInt32();
            this.Unknown_210h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_022> >();
            this.Unknown_220h = reader.ReadUInt32();
            this.Unknown_224h = reader.ReadUInt32();
            this.Unknown_228h = reader.ReadUInt32();
            this.Unknown_22Ch = reader.ReadUInt32();
            this.Unknown_230h = reader.ReadUInt32();
            this.Unknown_234h = reader.ReadUInt32();
            this.Unknown_238h = reader.ReadUInt32();
            this.Unknown_23Ch = reader.ReadUInt32();

            // read reference data
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
            this.p9data = reader.ReadBlockAt <string_r>(
                this.p9 // offset
                );
            this.p10data = reader.ReadBlockAt <string_r>(
                this.p10 // offset
                );
        }
コード例 #21
0
ファイル: FragType.cs プロジェクト: snakewiz/gta-toolkit
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h            = reader.ReadUInt64();
            this.Unknown_18h            = reader.ReadUInt64();
            this.BoundingSphereCenter   = reader.ReadVector3();
            this.BoundingSphereRadius   = reader.ReadSingle();
            this.PrimaryDrawablePointer = reader.ReadUInt64();
            this.DrawablesPointer       = reader.ReadUInt64();
            this.DrawablesNamesPointer  = reader.ReadUInt64();
            this.DrawablesCount         = reader.ReadUInt32();
            this.Unknown_4Ch            = reader.ReadUInt32();
            this.Unknown_50h            = reader.ReadUInt64();
            this.NamePointer            = reader.ReadUInt64();
            this.Clothes                       = reader.ReadBlock <ResourcePointerList64 <EnvironmentCloth> >();
            this.Unknown_70h                   = reader.ReadUInt64();
            this.Unknown_78h                   = reader.ReadUInt64();
            this.Unknown_80h                   = reader.ReadUInt64();
            this.Unknown_88h                   = reader.ReadUInt64();
            this.Unknown_90h                   = reader.ReadUInt64();
            this.Unknown_98h                   = reader.ReadUInt64();
            this.Unknown_A0h                   = reader.ReadUInt64();
            this.MatrixSetPointer              = reader.ReadUInt64();
            this.Unknown_B0h                   = reader.ReadUInt32();
            this.Unknown_B4h                   = reader.ReadUInt32();
            this.Unknown_B8h                   = reader.ReadUInt32();
            this.Unknown_BCh                   = reader.ReadUInt32();
            this.Unknown_C0h                   = reader.ReadUInt32();
            this.Unknown_C4h                   = reader.ReadUInt32();
            this.Unknown_C8h                   = reader.ReadUInt32();
            this.Unknown_CCh                   = reader.ReadUInt32();
            this.GravityMultiplier             = reader.ReadSingle();
            this.BuoyancyMultiplier            = reader.ReadSingle();
            this.Unknown_D8h                   = reader.ReadByte();
            this.GlassPaneModelInfosCount      = reader.ReadByte();
            this.Unknown_DAh                   = reader.ReadUInt16();
            this.Unknown_DCh                   = reader.ReadUInt32();
            this.GlassPaneModelInfosPointer    = reader.ReadUInt64();
            this.Unknown_E8h                   = reader.ReadUInt64();
            this.PhysicsLODGroupPointer        = reader.ReadUInt64();
            this.ClothDrawablePointer          = reader.ReadUInt64();
            this.Unknown_100h                  = reader.ReadUInt64();
            this.Unknown_108h                  = reader.ReadUInt64();
            this.LightAttributes               = reader.ReadBlock <ResourceSimpleList64 <LightAttributes> >();
            this.VehicleGlassWindowDataPointer = reader.ReadUInt64();
            this.Unknown_128h                  = reader.ReadUInt64();

            // read reference data
            this.PrimaryDrawable = reader.ReadBlockAt <FragDrawable>(
                this.PrimaryDrawablePointer // offset
                );
            this.Drawables = reader.ReadBlockAt <ResourcePointerArray64 <FragDrawable> >(
                this.DrawablesPointer, // offset
                this.DrawablesCount
                );
            this.DrawablesNames = reader.ReadBlockAt <ResourcePointerArray64 <string_r> >(
                this.DrawablesNamesPointer, // offset
                this.DrawablesCount
                );
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
            this.MatrixSet = reader.ReadBlockAt <MatrixSet>(
                this.MatrixSetPointer // offset
                );
            this.GlassPaneModelInfos = reader.ReadBlockAt <ResourcePointerArray64 <GlassPaneModelInfo> >(
                this.GlassPaneModelInfosPointer, // offset
                this.GlassPaneModelInfosCount
                );
            this.PhysicsLODGroup = reader.ReadBlockAt <FragPhysicsLODGroup>(
                this.PhysicsLODGroupPointer // offset
                );
            this.ClothDrawable = reader.ReadBlockAt <FragDrawable>(
                this.ClothDrawablePointer // offset
                );
            this.VehicleGlassWindowData = reader.ReadBlockAt <VehicleGlassWindowData>(
                this.VehicleGlassWindowDataPointer // offset
                );
        }
コード例 #22
0
 public VehicleRecords()
 {
     this.Entries = new ResourceSimpleList64 <VehicleRecordsEntry>();
 }
コード例 #23
0
 public TextureDictionary()
 {
     this.TextureNameHashes = new ResourceSimpleList64 <uint_r>();
     this.Textures          = new ResourcePointerList64 <TextureDX11>();
 }
コード例 #24
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h          = reader.ReadUInt32();
            this.Unknown_14h          = reader.ReadUInt32();
            this.BoundPointer         = reader.ReadUInt64();
            this.Unknown_20h          = reader.ReadUInt32();
            this.Unknown_24h          = reader.ReadUInt32();
            this.Unknown_28h          = reader.ReadUInt32();
            this.Unknown_2Ch          = reader.ReadUInt32();
            this.Unknown_30h          = reader.ReadUInt32();
            this.Unknown_34h          = reader.ReadUInt32();
            this.Unknown_38h          = reader.ReadUInt32();
            this.Unknown_3Ch          = reader.ReadUInt32();
            this.Unknown_40h          = reader.ReadUInt32();
            this.Unknown_44h          = reader.ReadUInt32();
            this.Unknown_48h          = reader.ReadUInt32();
            this.Unknown_4Ch          = reader.ReadUInt32();
            this.Unknown_50h          = reader.ReadUInt32();
            this.Unknown_54h          = reader.ReadUInt32();
            this.Unknown_58h          = reader.ReadUInt32();
            this.Unknown_5Ch          = reader.ReadUInt32();
            this.Unknown_60h          = reader.ReadUInt32();
            this.Unknown_64h          = reader.ReadUInt32();
            this.Unknown_68h          = reader.ReadUInt32();
            this.Unknown_6Ch          = reader.ReadUInt32();
            this.Unknown_70h          = reader.ReadBlock <SimpleList64 <Vector4> >();
            this.Unknown_80h          = reader.ReadBlock <SimpleList64 <Vector4> >();
            this.Unknown_90h          = reader.ReadUInt32();
            this.Unknown_94h          = reader.ReadUInt32();
            this.Unknown_98h          = reader.ReadUInt32();
            this.Unknown_9Ch          = reader.ReadUInt32();
            this.Unknown_A0h          = reader.ReadUInt32();
            this.Unknown_A4h          = reader.ReadUInt32();
            this.Unknown_A8h          = reader.ReadUInt32();
            this.Unknown_ACh          = reader.ReadUInt32();
            this.Unknown_B0h          = reader.ReadUInt32();
            this.Unknown_B4h          = reader.ReadUInt32();
            this.Unknown_B8h          = reader.ReadUInt32();
            this.Unknown_BCh          = reader.ReadUInt32();
            this.Unknown_C0h          = reader.ReadUInt32();
            this.Unknown_C4h          = reader.ReadUInt32();
            this.Unknown_C8h          = reader.ReadUInt32();
            this.Unknown_CCh          = reader.ReadUInt32();
            this.Unknown_D0h          = reader.ReadUInt32();
            this.Unknown_D4h          = reader.ReadUInt32();
            this.Unknown_D8h          = reader.ReadUInt32();
            this.Unknown_DCh          = reader.ReadUInt32();
            this.Unknown_E0h          = reader.ReadUInt32();
            this.Unknown_E4h          = reader.ReadUInt32();
            this.Unknown_E8h          = reader.ReadUInt32();
            this.NumEdges             = reader.ReadUInt32();
            this.Unknown_F0h          = reader.ReadUInt32();
            this.Unknown_F4h          = reader.ReadUInt32();
            this.Unknown_F8h          = reader.ReadUInt32();
            this.Unknown_FCh          = reader.ReadUInt32();
            this.CustomEdgeData       = reader.ReadBlock <ResourceSimpleList64 <EdgeData> >();
            this.EdgeData             = reader.ReadBlock <ResourceSimpleList64 <EdgeData> >();
            this.Unknown_120h         = reader.ReadUInt32();
            this.Unknown_124h         = reader.ReadUInt32();
            this.Unknown_128h         = reader.ReadUInt32();
            this.Unknown_12Ch         = reader.ReadUInt32();
            this.BehaviorPointer      = reader.ReadUInt64();
            this.Unknown_138h         = reader.ReadUInt32();
            this.Unknown_13Ch         = reader.ReadUInt32();
            this.Unknown_140h_Pointer = reader.ReadUInt64();
            this.Unknown_148h         = reader.ReadUInt32();
            this.Unknown_14Ch         = reader.ReadUInt32();
            this.Unknown_150h         = reader.ReadUInt32();
            this.Unknown_154h         = reader.ReadUInt32();
            this.Unknown_158h         = reader.ReadUInt32();
            this.Unknown_15Ch         = reader.ReadUInt32();
            this.Unknown_160h         = reader.ReadUInt32();
            this.Unknown_164h         = reader.ReadUInt32();
            this.Unknown_168h         = reader.ReadUInt32();
            this.Unknown_16Ch         = reader.ReadUInt32();
            this.Unknown_170h         = reader.ReadUInt32();
            this.Unknown_174h         = reader.ReadUInt32();
            this.Unknown_178h         = reader.ReadUInt32();
            this.Unknown_17Ch         = reader.ReadUInt32();

            // read reference data
            this.Bound = reader.ReadBlockAt <Bound>(
                this.BoundPointer // offset
                );
            this.Behavior = reader.ReadBlockAt <EnvClothVerletBehavior>(
                this.BehaviorPointer // offset
                );
            this.Unknown_140h_Data = reader.ReadBlockAt <Unknown_C_007>(
                this.Unknown_140h_Pointer // offset
                );
        }
コード例 #25
0
ファイル: ParticleRule.cs プロジェクト: snakewiz/gta-toolkit
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h                = reader.ReadUInt32();
            this.Unknown_14h                = reader.ReadUInt32();
            this.Unknown_18h                = reader.ReadUInt64();
            this.emb1                       = reader.ReadBlock <EffectSpawner>();
            this.emb2                       = reader.ReadBlock <EffectSpawner>();
            this.Unknown_100h               = reader.ReadUInt32();
            this.Unknown_104h               = reader.ReadUInt32();
            this.Unknown_108h               = reader.ReadUInt32();
            this.Unknown_10Ch               = reader.ReadUInt32();
            this.Unknown_110h               = reader.ReadUInt32();
            this.Unknown_114h               = reader.ReadSingle();
            this.Unknown_118h               = reader.ReadUInt32();
            this.Unknown_11Ch               = reader.ReadUInt32();
            this.NamePointer                = reader.ReadUInt64();
            this.Unknown_128h               = reader.ReadBlock <ResourcePointerList64 <Behaviour> >();
            this.Unknown_138h               = reader.ReadBlock <ResourcePointerList64 <Behaviour> >();
            this.Unknown_148h               = reader.ReadBlock <ResourcePointerList64 <Behaviour> >();
            this.Unknown_158h               = reader.ReadBlock <ResourcePointerList64 <Behaviour> >();
            this.Unknown_168h               = reader.ReadBlock <ResourcePointerList64 <Behaviour> >();
            this.Unknown_178h               = reader.ReadUInt64();
            this.Unknown_180h               = reader.ReadUInt64();
            this.Unknown_188h               = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_013> >();
            this.Unknown_198h               = reader.ReadUInt64();
            this.Unknown_1A0h               = reader.ReadUInt64();
            this.Unknown_1A8h               = reader.ReadUInt64();
            this.VFTx3                      = reader.ReadUInt64();
            this.ShaderNamePointer          = reader.ReadUInt64();
            this.ShaderTechniqueNamePointer = reader.ReadUInt64();
            this.Unknown_1C8h               = reader.ReadUInt64();
            this.Unknown_1D0h               = reader.ReadUInt32();
            this.Unknown_1D4h               = reader.ReadUInt32();
            this.VFTx4                      = reader.ReadUInt64();
            this.Unknown_1E0h               = reader.ReadUInt32();
            this.Unknown_1E4h               = reader.ReadUInt32();
            this.Unknown_1E8h               = reader.ReadUInt32();
            this.Unknown_1ECh               = reader.ReadUInt32();
            this.ShaderVars                 = reader.ReadBlock <ResourcePointerList64 <ShaderVar> >();
            this.Unknown_200h               = reader.ReadUInt32();
            this.Unknown_204h               = reader.ReadUInt32();
            this.ShaderNameHash             = reader.ReadUInt32();
            this.Unknown_20Ch               = reader.ReadUInt32();
            this.Unknown_210h               = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_012> >();
            this.Unknown_220h               = reader.ReadUInt32();
            this.Unknown_224h               = reader.ReadUInt32();
            this.Unknown_228h               = reader.ReadUInt64();
            this.Unknown_230h               = reader.ReadUInt64();
            this.Unknown_238h               = reader.ReadUInt64();

            // read reference data
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
            this.ShaderName = reader.ReadBlockAt <string_r>(
                this.ShaderNamePointer // offset
                );
            this.ShaderTechniqueName = reader.ReadBlockAt <string_r>(
                this.ShaderTechniqueNamePointer // offset
                );
        }
コード例 #26
0
ファイル: FragType.cs プロジェクト: xchgrbprsp/gta-toolkit
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);

            // read structure data
            this.Unknown_10h         = reader.ReadUInt32();
            this.Unknown_14h         = reader.ReadUInt32();
            this.Unknown_18h         = reader.ReadUInt32();
            this.Unknown_1Ch         = reader.ReadUInt32();
            this.Unknown_20h         = reader.ReadUInt32();
            this.Unknown_24h         = reader.ReadUInt32();
            this.Unknown_28h         = reader.ReadUInt32();
            this.Unknown_2Ch         = reader.ReadUInt32();
            this.DrawablePointer     = reader.ReadUInt64();
            this.Unknown_28h_Pointer = reader.ReadUInt64();
            this.Unknown_30h_Pointer = reader.ReadUInt64();
            this.Count0                 = reader.ReadUInt32();
            this.Unknown_4Ch            = reader.ReadUInt32();
            this.Unknown_50h            = reader.ReadUInt32();
            this.Unknown_54h            = reader.ReadUInt32();
            this.NamePointer            = reader.ReadUInt64();
            this.Clothes                = reader.ReadBlock <ResourcePointerList64 <EnvironmentCloth> >();
            this.Unknown_70h            = reader.ReadUInt32();
            this.Unknown_74h            = reader.ReadUInt32();
            this.Unknown_78h            = reader.ReadUInt32();
            this.Unknown_7Ch            = reader.ReadUInt32();
            this.Unknown_80h            = reader.ReadUInt32();
            this.Unknown_84h            = reader.ReadUInt32();
            this.Unknown_88h            = reader.ReadUInt32();
            this.Unknown_8Ch            = reader.ReadUInt32();
            this.Unknown_90h            = reader.ReadUInt32();
            this.Unknown_94h            = reader.ReadUInt32();
            this.Unknown_98h            = reader.ReadUInt32();
            this.Unknown_9Ch            = reader.ReadUInt32();
            this.Unknown_A0h            = reader.ReadUInt32();
            this.Unknown_A4h            = reader.ReadUInt32();
            this.Unknown_A8h_Pointer    = reader.ReadUInt64();
            this.Unknown_B0h            = reader.ReadUInt32();
            this.Unknown_B4h            = reader.ReadUInt32();
            this.Unknown_B8h            = reader.ReadUInt32();
            this.Unknown_BCh            = reader.ReadUInt32();
            this.Unknown_C0h            = reader.ReadUInt32();
            this.Unknown_C4h            = reader.ReadUInt32();
            this.Unknown_C8h            = reader.ReadUInt32();
            this.Unknown_CCh            = reader.ReadUInt32();
            this.Unknown_D0h            = reader.ReadUInt32();
            this.Unknown_D4h            = reader.ReadUInt32();
            this.Unknown_D8h            = reader.ReadByte();
            this.Count3                 = reader.ReadByte();
            this.Unknown_DAh            = reader.ReadUInt16();
            this.Unknown_DCh            = reader.ReadUInt32();
            this.Unknown_E0h_Pointer    = reader.ReadUInt64();
            this.Unknown_E8h            = reader.ReadUInt32();
            this.Unknown_ECh            = reader.ReadUInt32();
            this.PhysicsLODGroupPointer = reader.ReadUInt64();
            this.Unknown_F8h_Pointer    = reader.ReadUInt64();
            this.Unknown_100h           = reader.ReadUInt32();
            this.Unknown_104h           = reader.ReadUInt32();
            this.Unknown_108h           = reader.ReadUInt32();
            this.Unknown_10Ch           = reader.ReadUInt32();
            this.LightAttributes        = reader.ReadBlock <ResourceSimpleList64 <LightAttributes> >();
            this.Unknown_120h_Pointer   = reader.ReadUInt64();
            this.Unknown_128h           = reader.ReadUInt32();
            this.Unknown_12Ch           = reader.ReadUInt32();

            // read reference data
            this.Drawable = reader.ReadBlockAt <FragDrawable>(
                this.DrawablePointer // offset
                );
            this.Unknown_28h_Data = reader.ReadBlockAt <ResourcePointerArray64 <FragDrawable> >(
                this.Unknown_28h_Pointer, // offset
                this.Count0
                );
            this.Unknown_30h_Data = reader.ReadBlockAt <ResourcePointerArray64 <string_r> >(
                this.Unknown_30h_Pointer, // offset
                this.Count0
                );
            this.Name = reader.ReadBlockAt <string_r>(
                this.NamePointer // offset
                );
            this.Unknown_A8h_Data = reader.ReadBlockAt <Unknown_F_003>(
                this.Unknown_A8h_Pointer // offset
                );
            this.Unknown_E0h_Data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_F_004> >(
                this.Unknown_E0h_Pointer, // offset
                this.Count3
                );
            this.PhysicsLODGroup = reader.ReadBlockAt <FragPhysicsLODGroup>(
                this.PhysicsLODGroupPointer // offset
                );
            this.Unknown_F8h_Data = reader.ReadBlockAt <FragDrawable>(
                this.Unknown_F8h_Pointer // offset
                );
            this.Unknown_120h_Data = reader.ReadBlockAt <Unknown_F_002>(
                this.Unknown_120h_Pointer // offset
                );
        }
コード例 #27
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.VFT                  = reader.ReadUInt32();
            this.Unknown_4h           = reader.ReadUInt32();
            this.Unknown_8h           = reader.ReadUInt32();
            this.Unknown_Ch           = reader.ReadUInt32();
            this.Unknown_10h          = reader.ReadUInt32();
            this.Unknown_14h          = reader.ReadUInt32();
            this.Unknown_18h_Pointer  = reader.ReadUInt64();
            this.Unknown_20h          = reader.ReadUInt32();
            this.Unknown_24h          = reader.ReadUInt32();
            this.Unknown_28h          = reader.ReadUInt32();
            this.Unknown_2Ch          = reader.ReadUInt32();
            this.Unknown_30h          = reader.ReadUInt32();
            this.Unknown_34h          = reader.ReadUInt32();
            this.Unknown_38h          = reader.ReadUInt32();
            this.Unknown_3Ch          = reader.ReadUInt32();
            this.Unknown_40h          = reader.ReadUInt32();
            this.Unknown_44h          = reader.ReadUInt32();
            this.Unknown_48h          = reader.ReadUInt32();
            this.Unknown_4Ch          = reader.ReadUInt32();
            this.Unknown_50h          = reader.ReadUInt32();
            this.Unknown_54h          = reader.ReadUInt32();
            this.Unknown_58h          = reader.ReadUInt32();
            this.Unknown_5Ch          = reader.ReadUInt32();
            this.Unknown_60h          = reader.ReadUInt32();
            this.Unknown_64h          = reader.ReadUInt32();
            this.Unknown_68h          = reader.ReadUInt32();
            this.Unknown_6Ch          = reader.ReadUInt32();
            this.Unknown_70h          = reader.ReadUInt32();
            this.Unknown_74h          = reader.ReadUInt32();
            this.Unknown_78h          = reader.ReadUInt32();
            this.Unknown_7Ch          = reader.ReadUInt32();
            this.Unknown_80h          = reader.ReadBlock <ResourceSimpleList64 <RAGE_Vector4> >();
            this.Unknown_90h          = reader.ReadUInt32();
            this.Unknown_94h          = reader.ReadUInt32();
            this.Unknown_98h          = reader.ReadUInt32();
            this.Unknown_9Ch          = reader.ReadUInt32();
            this.Unknown_A0h          = reader.ReadUInt32();
            this.Unknown_A4h          = reader.ReadUInt32();
            this.Unknown_A8h          = reader.ReadUInt32();
            this.Unknown_ACh          = reader.ReadUInt32();
            this.Unknown_B0h          = reader.ReadUInt32();
            this.Unknown_B4h          = reader.ReadUInt32();
            this.Unknown_B8h          = reader.ReadUInt32();
            this.Unknown_BCh          = reader.ReadUInt32();
            this.Unknown_C0h          = reader.ReadUInt32();
            this.Unknown_C4h          = reader.ReadUInt32();
            this.Unknown_C8h          = reader.ReadUInt32();
            this.Unknown_CCh          = reader.ReadUInt32();
            this.Unknown_D0h          = reader.ReadUInt32();
            this.Unknown_D4h          = reader.ReadUInt32();
            this.Unknown_D8h          = reader.ReadUInt32();
            this.Unknown_DCh          = reader.ReadUInt32();
            this.Unknown_E0h          = reader.ReadUInt32();
            this.Unknown_E4h          = reader.ReadUInt32();
            this.Unknown_E8h          = reader.ReadUInt32();
            this.Unknown_ECh          = reader.ReadUInt32();
            this.Unknown_F0h          = reader.ReadUInt32();
            this.Unknown_F4h          = reader.ReadUInt32();
            this.Unknown_F8h          = reader.ReadUInt32();
            this.Unknown_FCh          = reader.ReadUInt32();
            this.Unknown_100h         = reader.ReadBlock <ResourceSimpleList64 <RAGE_Vector4> >();
            this.Unknown_110h         = reader.ReadBlock <ResourceSimpleList64 <RAGE_Vector4> >();
            this.Unknown_120h         = reader.ReadUInt32();
            this.Unknown_124h         = reader.ReadUInt32();
            this.Unknown_128h         = reader.ReadUInt32();
            this.Unknown_12Ch         = reader.ReadUInt32();
            this.Unknown_130h_Pointer = reader.ReadUInt64();
            this.Unknown_138h         = reader.ReadUInt32();
            this.Unknown_13Ch         = reader.ReadUInt32();
            this.Unknown_140h_Pointer = reader.ReadUInt64();
            this.Unknown_148h         = reader.ReadUInt32();
            this.Unknown_14Ch         = reader.ReadUInt32();
            this.Unknown_150h         = reader.ReadUInt32();
            this.Unknown_154h         = reader.ReadUInt32();
            this.Unknown_158h         = reader.ReadUInt32();
            this.Unknown_15Ch         = reader.ReadUInt32();
            this.Unknown_160h         = reader.ReadUInt32();
            this.Unknown_164h         = reader.ReadUInt32();
            this.Unknown_168h         = reader.ReadUInt32();
            this.Unknown_16Ch         = reader.ReadUInt32();
            this.Unknown_170h         = reader.ReadUInt32();
            this.Unknown_174h         = reader.ReadUInt32();
            this.Unknown_178h         = reader.ReadUInt32();
            this.Unknown_17Ch         = reader.ReadUInt32();

            // read reference data
            this.Unknown_18h_Data = reader.ReadBlockAt <Unknown_F_020>(
                this.Unknown_18h_Pointer // offset
                );
            this.Unknown_130h_Data = reader.ReadBlockAt <Unknown_F_024>(
                this.Unknown_130h_Pointer // offset
                );
            this.Unknown_140h_Data = reader.ReadBlockAt <Unknown_F_023>(
                this.Unknown_140h_Pointer // offset
                );
        }
コード例 #28
0
        public uint Unknown_18Ch; // 0x00000000

        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.Unknown_0h   = reader.ReadUInt32();
            this.Unknown_4h   = reader.ReadUInt32();
            this.Unknown_8h   = reader.ReadUInt32();
            this.Unknown_Ch   = reader.ReadUInt32();
            this.Unknown_10h  = reader.ReadUInt32();
            this.Unknown_14h  = reader.ReadUInt32();
            this.Unknown_18h  = reader.ReadUInt32();
            this.Unknown_1Ch  = reader.ReadUInt32();
            this.Unknown_20h  = reader.ReadUInt32();
            this.Unknown_24h  = reader.ReadUInt32();
            this.Unknown_28h  = reader.ReadUInt32();
            this.Unknown_2Ch  = reader.ReadUInt32();
            this.Unknown_30h  = reader.ReadUInt32();
            this.Unknown_34h  = reader.ReadUInt32();
            this.Unknown_38h  = reader.ReadUInt32();
            this.Unknown_3Ch  = reader.ReadUInt32();
            this.Unknown_40h  = reader.ReadUInt32();
            this.Unknown_44h  = reader.ReadUInt32();
            this.Unknown_48h  = reader.ReadUInt32();
            this.Unknown_4Ch  = reader.ReadUInt32();
            this.Unknown_50h  = reader.ReadBlock <ResourceSimpleList64 <RAGE_Vector4> >();
            this.Unknown_60h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_70h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_80h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_90h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_A0h  = reader.ReadBlock <ResourceSimpleList64 <RAGE_Vector4> >();
            this.Unknown_B0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_C0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_D0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_E0h  = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_F0h  = reader.ReadUInt32();
            this.Unknown_F4h  = reader.ReadUInt32();
            this.Unknown_F8h  = reader.ReadUInt32();
            this.Unknown_FCh  = reader.ReadUInt32();
            this.Unknown_100h = reader.ReadUInt32();
            this.Unknown_104h = reader.ReadUInt32();
            this.Unknown_108h = reader.ReadUInt32();
            this.Unknown_10Ch = reader.ReadUInt32();
            this.Unknown_110h = reader.ReadUInt32();
            this.Unknown_114h = reader.ReadUInt32();
            this.Unknown_118h = reader.ReadUInt32();
            this.Unknown_11Ch = reader.ReadUInt32();
            this.Unknown_120h = reader.ReadUInt32();
            this.Unknown_124h = reader.ReadUInt32();
            this.Unknown_128h = reader.ReadUInt32();
            this.Unknown_12Ch = reader.ReadUInt32();
            this.Unknown_130h = reader.ReadUInt32();
            this.Unknown_134h = reader.ReadUInt32();
            this.Unknown_138h = reader.ReadUInt32();
            this.Unknown_13Ch = reader.ReadUInt32();
            this.Unknown_140h = reader.ReadUInt32();
            this.Unknown_144h = reader.ReadUInt32();
            this.Unknown_148h = reader.ReadUInt32();
            this.Unknown_14Ch = reader.ReadUInt32();
            this.Unknown_150h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_160h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_170h = reader.ReadUInt32();
            this.Unknown_174h = reader.ReadUInt32();
            this.Unknown_178h = reader.ReadUInt32();
            this.Unknown_17Ch = reader.ReadUInt32();
            this.Unknown_180h = reader.ReadUInt32();
            this.Unknown_184h = reader.ReadUInt32();
            this.Unknown_188h = reader.ReadUInt32();
            this.Unknown_18Ch = reader.ReadUInt32();
        }
コード例 #29
0
 public VehicleRecords_GTA5_pc()
 {
     this.Entries = new ResourceSimpleList64 <VehicleRecordsEntry_GTA5_pc>();
 }