/// <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.p2 = reader.ReadUInt64(); this.Unknown_20h = reader.ReadUInt32(); this.Unknown_24h = reader.ReadUInt32(); this.ClipsPointer = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_34h = reader.ReadUInt32(); this.Unknown_38h = reader.ReadUInt32(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Animations = reader.ReadBlockAt<AnimationMap>( this.p2 // offset ); this.Clips = reader.ReadBlockAt<ResourcePointerArray64<ClipEntry_GTA5_pc>>( this.ClipsPointer, // offset this.c1 ); }
/// <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.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); 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(); // read reference data this.p1data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_CL_004>>( this.p1, // offset this.c1 ); }
/// <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.TextureDictionaryPointer = reader.ReadUInt64(); this.ShadersPointer = reader.ReadUInt64(); this.ShadersCount1 = reader.ReadUInt16(); this.ShadersCount2 = reader.ReadUInt16(); 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(); // read reference data this.TextureDictionary = reader.ReadBlockAt <TextureDictionary_GTA5_pc>( this.TextureDictionaryPointer // offset ); this.Shaders = reader.ReadBlockAt <ResourcePointerArray64 <ShaderFX_GTA5_pc> >( this.ShadersPointer, // offset this.ShadersCount1 ); }
/// <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.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); 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.emb1 = reader.ReadBlock <Unknown_P_018>(); this.emb2 = reader.ReadBlock <Unknown_P_018>(); this.emb3 = reader.ReadBlock <Unknown_P_018>(); this.emb4 = reader.ReadBlock <Unknown_P_018>(); this.emb5 = reader.ReadBlock <Unknown_P_018>(); this.emb6 = reader.ReadBlock <Unknown_P_018>(); this.emb7 = reader.ReadBlock <Unknown_P_018>(); this.emb8 = reader.ReadBlock <Unknown_P_018>(); this.emb9 = reader.ReadBlock <Unknown_P_018>(); this.Unknown_540h = reader.ReadUInt32(); this.Unknown_544h = reader.ReadUInt32(); this.Unknown_548h = reader.ReadUInt32(); this.Unknown_54Ch = reader.ReadUInt32(); // read reference data this.p1data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_018> >( this.p1, // offset this.c1 ); }
/// <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.p0 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); 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.p1 = reader.ReadUInt64(); // read reference data this.p0data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_CL_202> >( this.p0, // offset this.c1 ); this.p1data = reader.ReadBlockAt <Unknown_CL_200>( this.p1 // offset ); }
/// <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.p2 = reader.ReadUInt64(); this.Unknown_20h = reader.ReadUInt32(); this.Unknown_24h = reader.ReadUInt32(); this.ClipsPointer = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_34h = reader.ReadUInt32(); this.Unknown_38h = reader.ReadUInt32(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Animations = reader.ReadBlockAt <AnimationMap>( this.p2 // offset ); this.Clips = reader.ReadBlockAt <ResourcePointerArray64 <ClipEntry_GTA5_pc> >( this.ClipsPointer, // offset this.c1 ); }
/// <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.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); 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.emb1 = reader.ReadBlock<Unknown_P_018>(); this.emb2 = reader.ReadBlock<Unknown_P_018>(); this.emb3 = reader.ReadBlock<Unknown_P_018>(); this.Unknown_1E0h = reader.ReadUInt32(); this.Unknown_1E4h = reader.ReadUInt32(); this.Unknown_1E8h = reader.ReadUInt32(); this.Unknown_1ECh = reader.ReadUInt32(); // read reference data this.p1data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_018>>( this.p1, // offset this.c1 ); }
/// <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.emb1 = reader.ReadBlock <Unknown_P_018>(); this.emb2 = reader.ReadBlock <Unknown_P_018>(); this.emb3 = reader.ReadBlock <Unknown_P_018>(); this.emb4 = reader.ReadBlock <Unknown_P_018>(); this.Unknown_258h = reader.ReadUInt32(); this.Unknown_25Ch = reader.ReadUInt32(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_26Ch = reader.ReadUInt32(); this.Unknown_270h = reader.ReadUInt32(); this.Unknown_274h = reader.ReadUInt32(); this.Unknown_278h = reader.ReadUInt32(); this.Unknown_27Ch = reader.ReadUInt32(); // read reference data this.refs = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_018> >( this.pref, // offset this.refcnt2 ); }
/// <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.HashesPointer = reader.ReadUInt64(); this.HashesCount1 = reader.ReadUInt16(); this.HashesCount2 = reader.ReadUInt16(); this.Unknown_2Ch = reader.ReadUInt32(); this.FiltersPointer = reader.ReadUInt64(); this.FiltersCount1 = reader.ReadUInt16(); this.FiltersCount2 = reader.ReadUInt16(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Hashes = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>( this.HashesPointer, // offset this.HashesCount1 ); this.Filters = reader.ReadBlockAt<ResourcePointerArray64<Filter_GTA5_pc>>( this.FiltersPointer, // offset this.FiltersCount1 ); }
/// <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.NameHash = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); this.AttributesPointer = reader.ReadUInt64(); this.AttributesCount1 = reader.ReadUInt16(); this.AttributesCount2 = reader.ReadUInt16(); 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(); // read reference data this.Attributes = reader.ReadBlockAt <ResourcePointerArray64 <PropertyAttribute> >( this.AttributesPointer, // offset this.AttributesCount1 ); }
/// <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.HashesPointer = reader.ReadUInt64(); this.HashesCount1 = reader.ReadUInt16(); this.HashesCount2 = reader.ReadUInt16(); this.Unknown_2Ch = reader.ReadUInt32(); this.EffectRulesPointer = reader.ReadUInt64(); this.EffectRulesCount1 = reader.ReadUInt16(); this.EffectRulesCount2 = reader.ReadUInt16(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Hashes = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.HashesPointer, // offset this.HashesCount1 ); this.EmitterRules = reader.ReadBlockAt <ResourcePointerArray64 <EmitterRule> >( this.EffectRulesPointer, // offset this.EffectRulesCount1 ); }
/// <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.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); 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.emb1 = reader.ReadBlock <Unknown_P_018>(); this.emb2 = reader.ReadBlock <Unknown_P_018>(); 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.p1data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_018> >( this.p1, // offset this.c1 ); }
/// <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.HashesPointer = reader.ReadUInt64(); this.HashesCount1 = reader.ReadUInt16(); this.HashesCount2 = reader.ReadUInt16(); this.Unknown_2Ch = reader.ReadUInt32(); this.DrawablesPointer = reader.ReadUInt64(); this.DrawablesCount1 = reader.ReadUInt16(); this.DrawablesCount2 = reader.ReadUInt16(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Hashes = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.HashesPointer, // offset this.HashesCount1 ); this.Drawables = reader.ReadBlockAt <ResourcePointerArray64 <DrawableBase_GTA5_pc> >( this.DrawablesPointer, // offset this.DrawablesCount1 ); }
/// <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.GeometriesPointer = reader.ReadUInt64(); this.GeometriesCount1 = reader.ReadUInt16(); this.GeometriesCount2 = reader.ReadUInt16(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h_Pointer = reader.ReadUInt64(); this.ShaderMappingPointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); // read reference data this.Geometries = reader.ReadBlockAt <ResourcePointerArray64 <DrawableGeometry> >( this.GeometriesPointer, // offset this.GeometriesCount1 ); this.Unknown_18h_Data = reader.ReadBlockAt <ResourceSimpleArray <RAGE_AABB> >( this.Unknown_18h_Pointer, // offset this.GeometriesCount1 > 1 ? this.GeometriesCount1 + 1 : this.GeometriesCount1 ); this.ShaderMapping = reader.ReadBlockAt <ResourceSimpleArray <ushort_r> >( this.ShaderMappingPointer, // offset this.GeometriesCount1 ); }
/// <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.TextureDictionaryPointer = reader.ReadUInt64(); this.ShadersPointer = reader.ReadUInt64(); this.ShadersCount1 = reader.ReadUInt16(); this.ShadersCount2 = reader.ReadUInt16(); 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(); // read reference data this.TextureDictionary = reader.ReadBlockAt<TextureDictionary_GTA5_pc>( this.TextureDictionaryPointer // offset ); this.Shaders = reader.ReadBlockAt<ResourcePointerArray64<ShaderFX_GTA5_pc>>( this.ShadersPointer, // offset this.ShadersCount1 ); }
/// <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.GeometriesPointer = reader.ReadUInt64(); this.GeometriesCount1 = reader.ReadUInt16(); this.GeometriesCount2 = reader.ReadUInt16(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h_Pointer = reader.ReadUInt64(); this.ShaderMappingPointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); // read reference data this.Geometries = reader.ReadBlockAt<ResourcePointerArray64<DrawableGeometry_GTA5_pc>>( this.GeometriesPointer, // offset this.GeometriesCount1 ); this.Unknown_18h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_AABB>>( this.Unknown_18h_Pointer, // offset this.GeometriesCount1 > 1 ? this.GeometriesCount1 + 1 : this.GeometriesCount1 ); this.ShaderMapping = reader.ReadBlockAt<ResourceSimpleArray<ushort_r>>( this.ShaderMappingPointer, // offset this.GeometriesCount1 ); }
public override void Read(ResourceDataReader reader, params object[] parameters) { int cnt = Convert.ToInt32(parameters[0]); // read structure data GroupNames = reader.ReadBlock <ResourcePointerArray64 <string32_r> >(cnt); Unknown_VFT = reader.ReadUInt64(); }
/// <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.ReadUInt32(); this.Unknown_74h = reader.ReadUInt32(); this.JointTypesPointer = reader.ReadUInt64(); this.p2 = reader.ReadUInt64(); this.c1 = reader.ReadByte(); this.JointTypesCount = reader.ReadByte(); this.Unknown_8Ah = reader.ReadUInt16(); 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 = reader.ReadUInt32(); this.Unknown_ACh = reader.ReadUInt32(); // read reference data this.JointTypes = reader.ReadBlockAt <ResourcePointerArray64 <JointType> >( this.JointTypesPointer, // offset this.JointTypesCount ); this.p2data = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Vector4> >( this.p2, // offset this.c1 ); }
/// <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_Pointer = reader.ReadUInt64(); this.Count1 = reader.ReadUInt16(); this.Count2 = reader.ReadUInt16(); this.Unknown_1Ch = reader.ReadUInt32(); this.BonesPointer = reader.ReadUInt64(); this.TransformationsInvertedPointer = reader.ReadUInt64(); this.TransformationsPointer = reader.ReadUInt64(); this.ParentIndicesPointer = reader.ReadUInt64(); this.Unknown_40h_Pointer = reader.ReadUInt64(); 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.ReadUInt16(); this.BonesCount = reader.ReadUInt16(); this.Count4 = reader.ReadUInt16(); this.Unknown_62h = reader.ReadUInt16(); this.Unknown_64h = reader.ReadUInt32(); this.Unknown_68h = reader.ReadUInt32(); this.Unknown_6Ch = reader.ReadUInt32(); // read reference data this.Unknown_10h_Data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_D_001> >( this.Unknown_10h_Pointer, // offset this.Count1 ); this.Bones = reader.ReadBlockAt <ResourceSimpleArray <Bone> >( this.BonesPointer, // offset this.BonesCount ); this.TransformationsInverted = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.TransformationsInvertedPointer, // offset this.BonesCount ); this.Transformations = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.TransformationsPointer, // offset this.BonesCount ); this.ParentIndices = reader.ReadBlockAt <ResourceSimpleArray <ushort_r> >( this.ParentIndicesPointer, // offset this.BonesCount ); this.Unknown_40h_Data = reader.ReadBlockAt <ResourceSimpleArray <ushort_r> >( this.Unknown_40h_Pointer, // offset this.Count4 ); }
public override void Read(ResourceDataReader reader, params object[] parameters) { this.DataPointer = reader.ReadUInt64(); this.DataCount1 = reader.ReadUInt16(); this.DataCount2 = reader.ReadUInt16(); this.data_items = reader.ReadBlockAt <ResourcePointerArray64 <T> >( this.DataPointer, // offset this.DataCount1 ); }
/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_Ch = reader.ReadUInt32(); // read reference data this.p1data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_CL_002> >( this.p1, // offset this.c1 ); }
/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.PropertyEntriesPointer = reader.ReadUInt64(); this.PropertyEntriesCount = reader.ReadUInt16(); this.PropertyEntriesTotalCount = reader.ReadUInt16(); this.Unknown_Ch = reader.ReadUInt32(); // read reference data this.Properties = reader.ReadBlockAt <ResourcePointerArray64 <PropertyMapEntry> >( this.PropertyEntriesPointer, // offset this.PropertyEntriesCount ); }
/// <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.ChildrenPointer = reader.ReadUInt64(); this.Unknown_78h_Pointer = reader.ReadUInt64(); this.Unknown_80h_Pointer = reader.ReadUInt64(); this.Unknown_88h_Pointer = reader.ReadUInt64(); this.Unknown_90h_Pointer = reader.ReadUInt64(); this.Unknown_98h_Pointer = reader.ReadUInt64(); this.ChildrenCount1 = reader.ReadUInt16(); this.ChildrenCount2 = reader.ReadUInt16(); this.Unknown_A4h = reader.ReadUInt32(); this.Unknown_A8h_Pointer = reader.ReadUInt64(); // read reference data this.Children = reader.ReadBlockAt<ResourcePointerArray64<Bound_GTA5_pc>>( this.ChildrenPointer, // offset this.ChildrenCount1 ); this.Unknown_78h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_78h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_80h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_80h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_88h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_AABB>>( this.Unknown_88h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_90h_Data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_B_002>>( this.Unknown_90h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_98h_Data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_B_002>>( this.Unknown_98h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_A8h_Data = reader.ReadBlockAt<BVH_GTA5_pc>( this.Unknown_A8h_Pointer // offset ); }
/// <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.BoundsPointer = reader.ReadUInt64(); this.CurrentMatricesPointer = reader.ReadUInt64(); this.LastMatricesPointer = reader.ReadUInt64(); this.ChildBoundingBoxesPointer = reader.ReadUInt64(); this.TypeAndIncludeFlagsPointer = reader.ReadUInt64(); this.OwnedTypeAndIncludeFlagsPointer = reader.ReadUInt64(); this.MaxNumBounds = reader.ReadUInt16(); this.NumBounds = reader.ReadUInt16(); this.Unknown_A4h = reader.ReadUInt32(); this.BVHPointer = reader.ReadUInt64(); // read reference data this.Bounds = reader.ReadBlockAt <ResourcePointerArray64 <Bound> >( this.BoundsPointer, // offset this.MaxNumBounds ); this.CurrentMatrices = reader.ReadBlockAt <SimpleArray <Matrix4x4> >( this.CurrentMatricesPointer, // offset this.MaxNumBounds ); this.LastMatrices = reader.ReadBlockAt <SimpleArray <Matrix4x4> >( this.LastMatricesPointer, // offset this.MaxNumBounds ); this.ChildBoundingBoxes = reader.ReadBlockAt <SimpleArray <Aabb> >( this.ChildBoundingBoxesPointer, // offset this.MaxNumBounds ); this.TypeAndIncludeFlags = reader.ReadBlockAt <SimpleArray <ulong> >( this.TypeAndIncludeFlagsPointer, // offset this.MaxNumBounds ); this.OwnedTypeAndIncludeFlags = reader.ReadBlockAt <SimpleArray <ulong> >( this.OwnedTypeAndIncludeFlagsPointer, // offset this.MaxNumBounds ); this.BVH = reader.ReadBlockAt <BVH>( this.BVHPointer // offset ); }
/// <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.ChildrenPointer = reader.ReadUInt64(); this.ChildTransformations1Pointer = reader.ReadUInt64(); this.ChildTransformations2Pointer = reader.ReadUInt64(); this.ChildBoundingBoxesPointer = reader.ReadUInt64(); this.ChildFlags1Pointer = reader.ReadUInt64(); this.ChildFlags2Pointer = reader.ReadUInt64(); this.ChildrenCount1 = reader.ReadUInt16(); this.ChildrenCount2 = reader.ReadUInt16(); this.Unknown_A4h = reader.ReadUInt32(); this.BVHPointer = reader.ReadUInt64(); // read reference data this.Children = reader.ReadBlockAt <ResourcePointerArray64 <Bound> >( this.ChildrenPointer, // offset this.ChildrenCount1 ); this.ChildTransformations1 = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.ChildTransformations1Pointer, // offset this.ChildrenCount1 ); this.ChildTransformations2 = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.ChildTransformations2Pointer, // offset this.ChildrenCount1 ); this.ChildBoundingBoxes = reader.ReadBlockAt <ResourceSimpleArray <RAGE_AABB> >( this.ChildBoundingBoxesPointer, // offset this.ChildrenCount1 ); this.ChildFlags1 = reader.ReadBlockAt <ResourceSimpleArray <ulong_r> >( this.ChildFlags1Pointer, // offset this.ChildrenCount1 ); this.ChildFlags2 = reader.ReadBlockAt <ResourceSimpleArray <ulong_r> >( this.ChildFlags2Pointer, // offset this.ChildrenCount1 ); this.BVH = reader.ReadBlockAt <BVH>( this.BVHPointer // offset ); }
/// <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.ChildrenPointer = reader.ReadUInt64(); this.ChildrenTransformation1Pointer = reader.ReadUInt64(); this.ChildrenTransformation2Pointer = reader.ReadUInt64(); this.ChildrenBoundingBoxesPointer = reader.ReadUInt64(); this.Unknown_90h_Pointer = reader.ReadUInt64(); this.Unknown_98h_Pointer = reader.ReadUInt64(); this.ChildrenCount1 = reader.ReadUInt16(); this.ChildrenCount2 = reader.ReadUInt16(); this.Unknown_A4h = reader.ReadUInt32(); this.BVHPointer = reader.ReadUInt64(); // read reference data this.Children = reader.ReadBlockAt <ResourcePointerArray64 <Bound_GTA5_pc> >( this.ChildrenPointer, // offset this.ChildrenCount1 ); this.ChildrenTransformation1 = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.ChildrenTransformation1Pointer, // offset this.ChildrenCount1 ); this.ChildrenTransformation2 = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Matrix4> >( this.ChildrenTransformation2Pointer, // offset this.ChildrenCount1 ); this.ChildrenBoundingBoxes = reader.ReadBlockAt <ResourceSimpleArray <RAGE_AABB> >( this.ChildrenBoundingBoxesPointer, // offset this.ChildrenCount1 ); this.Unknown_90h_Data = reader.ReadBlockAt <ResourceSimpleArray <Unknown_B_002> >( this.Unknown_90h_Pointer, // offset this.ChildrenCount1 ); this.Unknown_98h_Data = reader.ReadBlockAt <ResourceSimpleArray <Unknown_B_002> >( this.Unknown_98h_Pointer, // offset this.ChildrenCount1 ); this.BVH = reader.ReadBlockAt <BVH_GTA5_pc>( this.BVHPointer // offset ); }
/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.TagListPointer = reader.ReadUInt64(); this.TagsCount1 = reader.ReadUInt16(); this.TagsCount2 = reader.ReadUInt16(); 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(); // read reference data this.TagList = reader.ReadBlockAt <ResourcePointerArray64 <Tag> >( this.TagListPointer, // offset this.TagsCount1 ); }
/// <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.p2 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_24h = reader.ReadUInt32(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); // read reference data this.Animations = reader.ReadBlockAt<ResourcePointerArray64<AnimationEntry>>( this.p2, // offset this.c1 ); }
/// <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.AnimationsPointer = reader.ReadUInt64(); this.AnimationEntriesCount = reader.ReadUInt16(); this.AnimationEntriesTotalCount = reader.ReadUInt16(); this.Unknown_24h = reader.ReadUInt32(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); // read reference data this.Animations = reader.ReadBlockAt <ResourcePointerArray64 <AnimationMapEntry> >( this.AnimationsPointer, // offset this.AnimationEntriesCount ); }
/// <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.p1 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_4Ch = reader.ReadUInt32(); this.p2 = reader.ReadUInt64(); this.c3 = reader.ReadUInt16(); this.c4 = reader.ReadUInt16(); this.Unknown_5Ch = reader.ReadUInt32(); // read reference data this.p1data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_CL_300> >( this.p1, // offset this.c1 ); this.p2data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.p2, // offset this.c3 ); }
/// <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 ); }
/// <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.p4 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_134h = reader.ReadUInt32(); this.p5 = reader.ReadUInt64(); this.c3 = reader.ReadUInt16(); this.c4 = reader.ReadUInt16(); this.Unknown_144h = reader.ReadUInt32(); this.p6 = reader.ReadUInt64(); this.c5 = reader.ReadUInt16(); this.c6 = reader.ReadUInt16(); this.Unknown_154h = reader.ReadUInt32(); this.p7 = reader.ReadUInt64(); this.c7a = reader.ReadUInt16(); this.c7b = reader.ReadUInt16(); this.Unknown_164h = reader.ReadUInt32(); this.p8 = reader.ReadUInt64(); this.c8 = reader.ReadUInt16(); this.c9 = reader.ReadUInt16(); 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.pxx = reader.ReadUInt64(); this.cxx1 = reader.ReadUInt16(); this.cxx2 = reader.ReadUInt16(); this.Unknown_194h = reader.ReadUInt32(); 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.p11 = reader.ReadUInt64(); this.c11a = reader.ReadUInt16(); this.c11b = reader.ReadUInt16(); this.Unknown_1FCh = reader.ReadUInt32(); this.Unknown_200h = reader.ReadUInt32(); this.Unknown_204h = reader.ReadUInt32(); this.Unknown_208h = reader.ReadUInt32(); this.Unknown_20Ch = reader.ReadUInt32(); this.p12 = reader.ReadUInt64(); this.c12a = reader.ReadUInt16(); this.c12b = reader.ReadUInt16(); this.Unknown_21Ch = reader.ReadUInt32(); 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.p4data = reader.ReadBlockAt <ResourcePointerArray64 <Behaviour_GTA5_pc> >( this.p4, // offset this.c1 ); this.p5data = reader.ReadBlockAt <ResourcePointerArray64 <Behaviour_GTA5_pc> >( this.p5, // offset this.c3 ); this.p6data = reader.ReadBlockAt <ResourcePointerArray64 <Behaviour_GTA5_pc> >( this.p6, // offset this.c5 ); this.p7data = reader.ReadBlockAt <ResourcePointerArray64 <Behaviour_GTA5_pc> >( this.p7, // offset this.c7a ); this.p8data = reader.ReadBlockAt <ResourcePointerArray64 <Behaviour_GTA5_pc> >( this.p8, // offset this.c8 ); this.pxxdata = reader.ReadBlockAt <ResourceSimpleArray <Unknown_P_032> >( this.pxx, // offset this.cxx1 ); this.p9data = reader.ReadBlockAt <string_r>( this.p9 // offset ); this.p10data = reader.ReadBlockAt <string_r>( this.p10 // offset ); this.p11data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_007> >( this.p11, // offset this.c11a ); this.p12data = reader.ReadBlockAt <ResourceSimpleArray <Unknown_P_022> >( this.p12, // offset this.c12a ); }
/// <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.NamePointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.p2 = reader.ReadUInt64(); this.Unknown_40h = reader.ReadUInt32(); this.Unknown_44h = reader.ReadUInt32(); this.p3 = reader.ReadUInt64(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.p4 = reader.ReadUInt64(); 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.emb1 = reader.ReadBlock<Unknown_P_018>(); this.emb2 = reader.ReadBlock<Unknown_P_018>(); this.emb3 = reader.ReadBlock<Unknown_P_018>(); this.emb4 = reader.ReadBlock<Unknown_P_018>(); this.emb5 = reader.ReadBlock<Unknown_P_018>(); this.emb6 = reader.ReadBlock<Unknown_P_018>(); this.emb7 = reader.ReadBlock<Unknown_P_018>(); this.emb8 = reader.ReadBlock<Unknown_P_018>(); this.emb9 = reader.ReadBlock<Unknown_P_018>(); this.emb10 = reader.ReadBlock<Unknown_P_018>(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_624h = reader.ReadUInt32(); this.Unknown_628h = reader.ReadUInt32(); this.Unknown_62Ch = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt<string_r>( this.NamePointer // offset ); this.p2data = reader.ReadBlockAt<Unknown_P_004>( this.p2 // offset ); this.p3data = reader.ReadBlockAt<Unknown_P_004>( this.p3 // offset ); this.p4data = reader.ReadBlockAt<Unknown_P_004>( this.p4 // offset ); this.refs = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_018>>( this.pref, // offset this.refcnt2 ); }
/// <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.ptr1 = reader.ReadUInt64(); this.cnt1 = reader.ReadUInt16(); this.cnt2 = reader.ReadUInt16(); this.Unknown_2Ch = reader.ReadUInt32(); this.ptr2 = reader.ReadUInt64(); this.cnt3 = reader.ReadUInt16(); this.cnt4 = reader.ReadUInt16(); this.Unknown_3Ch = reader.ReadUInt32(); this.ptr3 = reader.ReadUInt64(); this.cnt5 = reader.ReadUInt16(); this.cnt6 = reader.ReadUInt16(); this.Unknown_4Ch = reader.ReadUInt32(); this.ptr4 = reader.ReadUInt64(); this.cnt7 = reader.ReadUInt16(); this.cnt8 = reader.ReadUInt16(); this.Unknown_5Ch = reader.ReadUInt32(); 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.ptr1data = reader.ReadBlockAt <ResourcePointerArray64 <Expression_Unk1_GTA5_pc> >( this.ptr1, // offset this.cnt1 ); this.ptr2data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.ptr2, // offset this.cnt3 ); this.ptr3data = reader.ReadBlockAt <ResourceSimpleArray <Expression_Unk2_GTA5_pc> >( this.ptr3, // offset this.cnt5 ); this.ptr4data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.ptr4, // offset this.cnt7 ); this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); }
/// <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 ); }
/// <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.ArticulatedBodyTypePointer = reader.ReadUInt64(); this.Unknown_28h_Pointer = reader.ReadUInt64(); this.Unknown_30h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_40h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_50h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_60h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_70h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_80h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_90h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_A0h = reader.ReadBlock <RAGE_Vector4>(); this.Unknown_B0h = reader.ReadBlock <RAGE_Vector4>(); this.GroupNamesPointer = reader.ReadUInt64(); this.GroupsPointer = reader.ReadUInt64(); this.ChildrenPointer = reader.ReadUInt64(); this.Archetype1Pointer = reader.ReadUInt64(); this.Archetype2Pointer = reader.ReadUInt64(); this.BoundPointer = reader.ReadUInt64(); this.Unknown_F0h_Pointer = reader.ReadUInt64(); this.Unknown_F8h_Pointer = reader.ReadUInt64(); this.Unknown_100h_Pointer = reader.ReadUInt64(); this.Unknown_108h_Pointer = reader.ReadUInt64(); this.Unknown_110h_Pointer = reader.ReadUInt64(); this.Count1 = reader.ReadByte(); this.Count2 = reader.ReadByte(); this.GroupsCount = reader.ReadByte(); this.Unknown_11Bh = reader.ReadByte(); this.Unknown_11Ch = reader.ReadByte(); this.ChildrenCount = reader.ReadByte(); this.Count3 = reader.ReadByte(); this.Unknown_11Fh = reader.ReadByte(); this.Unknown_120h = reader.ReadUInt32(); this.Unknown_124h = reader.ReadUInt32(); this.Unknown_128h = reader.ReadUInt32(); this.Unknown_12Ch = reader.ReadUInt32(); // read reference data this.ArticulatedBodyType = reader.ReadBlockAt <ArticulatedBodyType>( this.ArticulatedBodyTypePointer // offset ); this.Unknown_28h_Data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >( this.Unknown_28h_Pointer, // offset this.ChildrenCount ); this.GroupNames = reader.ReadBlockAt <ResourcePointerArray64 <fragNameStruct> >( this.GroupNamesPointer, // offset this.GroupsCount ); this.Groups = reader.ReadBlockAt <ResourcePointerArray64 <FragTypeGroup> >( this.GroupsPointer, // offset this.GroupsCount ); this.Children = reader.ReadBlockAt <ResourcePointerArray64 <FragTypeChild> >( this.ChildrenPointer, // offset this.ChildrenCount ); this.Archetype1 = reader.ReadBlockAt <Archetype>( this.Archetype1Pointer // offset ); this.Archetype2 = reader.ReadBlockAt <Archetype>( this.Archetype2Pointer // offset ); this.Bound = reader.ReadBlockAt <Bound>( this.BoundPointer // offset ); this.Unknown_F0h_Data = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Vector4> >( this.Unknown_F0h_Pointer, // offset this.ChildrenCount ); this.Unknown_F8h_Data = reader.ReadBlockAt <ResourceSimpleArray <RAGE_Vector4> >( this.Unknown_F8h_Pointer, // offset this.ChildrenCount ); this.Unknown_100h_Data = reader.ReadBlockAt <Unknown_F_001>( this.Unknown_100h_Pointer // offset ); this.Unknown_108h_Data = reader.ReadBlockAt <ResourceSimpleArray <byte_r> >( this.Unknown_108h_Pointer, // offset this.Count1 ); this.Unknown_110h_Data = reader.ReadBlockAt <ResourceSimpleArray <byte_r> >( this.Unknown_110h_Pointer, // offset this.Count2 ); }
/// <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_Pointer = reader.ReadUInt64(); this.Count1 = reader.ReadUInt16(); this.Count2 = reader.ReadUInt16(); this.Unknown_1Ch = reader.ReadUInt32(); this.BonesPointer = reader.ReadUInt64(); this.Unknown_28h_Pointer = reader.ReadUInt64(); this.Unknown_30h_Pointer = reader.ReadUInt64(); this.Unknown_38h_Pointer = reader.ReadUInt64(); this.Unknown_40h_Pointer = reader.ReadUInt64(); 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.ReadUInt16(); this.BonesCount = reader.ReadUInt16(); this.Count4 = reader.ReadUInt16(); this.Unknown_62h = reader.ReadUInt16(); this.Unknown_64h = reader.ReadUInt32(); this.Unknown_68h = reader.ReadUInt32(); this.Unknown_6Ch = reader.ReadUInt32(); // read reference data this.Unknown_10h_Data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_D_001>>( this.Unknown_10h_Pointer, // offset this.Count1 ); this.Bones = reader.ReadBlockAt<ResourceSimpleArray<Bone_GTA5_pc>>( this.BonesPointer, // offset this.BonesCount ); this.Unknown_28h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_28h_Pointer, // offset this.BonesCount ); this.Unknown_30h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_30h_Pointer, // offset this.BonesCount ); this.Unknown_38h_Data = reader.ReadBlockAt<ResourceSimpleArray<ushort_r>>( this.Unknown_38h_Pointer, // offset this.BonesCount ); this.Unknown_40h_Data = reader.ReadBlockAt<ResourceSimpleArray<ushort_r>>( this.Unknown_40h_Pointer, // offset this.Count4 ); }
/// <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.NamePointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.p3 = reader.ReadUInt64(); this.c3a = reader.ReadUInt16(); this.c3b = reader.ReadUInt16(); this.Unknown_44h = reader.ReadUInt32(); this.p4 = reader.ReadUInt64(); 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.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.emb1 = reader.ReadBlock <Unknown_P_018>(); this.emb2 = reader.ReadBlock <Unknown_P_018>(); this.emb3 = reader.ReadBlock <Unknown_P_018>(); this.emb4 = reader.ReadBlock <Unknown_P_018>(); this.emb5 = reader.ReadBlock <Unknown_P_018>(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_39Ch = reader.ReadUInt32(); this.Unknown_3A0h = reader.ReadUInt32(); this.Unknown_3A4h = reader.ReadUInt32(); this.Unknown_3A8h = reader.ReadUInt32(); this.Unknown_3ACh = reader.ReadUInt32(); this.Unknown_3B0h = reader.ReadUInt32(); this.Unknown_3B4h = reader.ReadUInt32(); this.Unknown_3B8h = reader.ReadUInt32(); this.Unknown_3BCh = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); this.p3data = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_008> >( this.p3, // offset this.c3b ); this.p4data = reader.ReadBlockAt <Unknown_P_005>( this.p4 // offset ); this.refs = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_018> >( this.pref, // offset this.refcnt2 ); }
/// <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.Unknown_60h_Pointer = reader.ReadUInt64(); this.Count1 = reader.ReadUInt16(); this.Count2 = reader.ReadUInt16(); 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.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.LightAttributesPointer = reader.ReadUInt64(); this.LightAttributesCount = reader.ReadUInt16(); this.Count5 = reader.ReadUInt16(); this.Unknown_11Ch = reader.ReadUInt32(); this.Unknown_120h_Pointer = reader.ReadUInt64(); this.Unknown_128h = reader.ReadUInt32(); this.Unknown_12Ch = reader.ReadUInt32(); // read reference data this.Drawable = reader.ReadBlockAt<FragDrawable_GTA5_pc>( this.DrawablePointer // offset ); this.Unknown_28h_Data = reader.ReadBlockAt<ResourcePointerArray64<FragDrawable_GTA5_pc>>( 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_60h_Data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_F_011>>( this.Unknown_60h_Pointer, // offset this.Count1 ); this.Unknown_A8h_Data = reader.ReadBlockAt<Unknown_F_004>( this.Unknown_A8h_Pointer // offset ); this.Unknown_E0h_Data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_F_006>>( this.Unknown_E0h_Pointer, // offset this.Count3 ); this.PhysicsLODGroup = reader.ReadBlockAt<FragPhysicsLODGroup_GTA5_pc>( this.PhysicsLODGroupPointer // offset ); this.Unknown_F8h_Data = reader.ReadBlockAt<FragDrawable_GTA5_pc>( this.Unknown_F8h_Pointer // offset ); this.LightAttributes = reader.ReadBlockAt<ResourceSimpleArray<LightAttributes_GTA5_pc>>( this.LightAttributesPointer, // offset this.LightAttributesCount ); this.Unknown_120h_Data = reader.ReadBlockAt<Unknown_F_003>( this.Unknown_120h_Pointer // offset ); }
/// <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.ptr1 = reader.ReadUInt64(); this.cnt1 = reader.ReadUInt16(); this.cnt2 = reader.ReadUInt16(); this.Unknown_2Ch = reader.ReadUInt32(); this.ptr2 = reader.ReadUInt64(); this.cnt3 = reader.ReadUInt16(); this.cnt4 = reader.ReadUInt16(); this.Unknown_3Ch = reader.ReadUInt32(); this.ptr3 = reader.ReadUInt64(); this.cnt5 = reader.ReadUInt16(); this.cnt6 = reader.ReadUInt16(); this.Unknown_4Ch = reader.ReadUInt32(); this.ptr4 = reader.ReadUInt64(); this.cnt7 = reader.ReadUInt16(); this.cnt8 = reader.ReadUInt16(); this.Unknown_5Ch = reader.ReadUInt32(); 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.ptr1data = reader.ReadBlockAt<ResourcePointerArray64<Expression_Unk1_GTA5_pc>>( this.ptr1, // offset this.cnt1 ); this.ptr2data = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>( this.ptr2, // offset this.cnt3 ); this.ptr3data = reader.ReadBlockAt<ResourceSimpleArray<Expression_Unk2_GTA5_pc>>( this.ptr3, // offset this.cnt5 ); this.ptr4data = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>( this.ptr4, // offset this.cnt7 ); this.Name = reader.ReadBlockAt<string_r>( this.NamePointer // offset ); }
/// <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.NamePointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.p3 = reader.ReadUInt64(); this.c3a = reader.ReadUInt16(); this.c3b = reader.ReadUInt16(); this.Unknown_44h = reader.ReadUInt32(); this.p4 = reader.ReadUInt64(); 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.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.emb1 = reader.ReadBlock<Unknown_P_018>(); this.emb2 = reader.ReadBlock<Unknown_P_018>(); this.emb3 = reader.ReadBlock<Unknown_P_018>(); this.emb4 = reader.ReadBlock<Unknown_P_018>(); this.emb5 = reader.ReadBlock<Unknown_P_018>(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_39Ch = reader.ReadUInt32(); this.Unknown_3A0h = reader.ReadUInt32(); this.Unknown_3A4h = reader.ReadUInt32(); this.Unknown_3A8h = reader.ReadUInt32(); this.Unknown_3ACh = reader.ReadUInt32(); this.Unknown_3B0h = reader.ReadUInt32(); this.Unknown_3B4h = reader.ReadUInt32(); this.Unknown_3B8h = reader.ReadUInt32(); this.Unknown_3BCh = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt<string_r>( this.NamePointer // offset ); this.p3data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_008>>( this.p3, // offset this.c3b ); this.p4data = reader.ReadBlockAt<Unknown_P_005>( this.p4 // offset ); this.refs = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_018>>( this.pref, // offset this.refcnt2 ); }
/// <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_Pointer = reader.ReadUInt64(); this.Unknown_78h_Pointer = reader.ReadUInt64(); this.Unknown_80h_Pointer = reader.ReadUInt64(); this.Unknown_88h_Pointer = reader.ReadUInt64(); this.Unknown_90h = reader.ReadUInt32(); this.Unknown_94h = reader.ReadUInt32(); this.Unknown_98h = reader.ReadUInt32(); this.Unknown_9Ch = reader.ReadUInt32(); this.cnt2a = reader.ReadUInt16(); this.cnt2b = reader.ReadUInt16(); this.Unknown_A4h = reader.ReadUInt32(); this.Unknown_A8h = reader.ReadUInt32(); this.Unknown_ACh = reader.ReadUInt32(); // read reference data this.Unknown_70h_Data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_F_021>>( this.Unknown_70h_Pointer, // offset this.cnt2a ); this.Unknown_78h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_78h_Pointer, // offset this.cnt2a ); this.Unknown_80h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Matrix4>>( this.Unknown_80h_Pointer, // offset this.cnt2a ); this.Unknown_88h_Data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_F_022>>( this.Unknown_88h_Pointer, // offset this.cnt2a ); }
/// <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.p4 = reader.ReadUInt64(); this.c1 = reader.ReadUInt16(); this.c2 = reader.ReadUInt16(); this.Unknown_134h = reader.ReadUInt32(); this.p5 = reader.ReadUInt64(); this.c3 = reader.ReadUInt16(); this.c4 = reader.ReadUInt16(); this.Unknown_144h = reader.ReadUInt32(); this.p6 = reader.ReadUInt64(); this.c5 = reader.ReadUInt16(); this.c6 = reader.ReadUInt16(); this.Unknown_154h = reader.ReadUInt32(); this.p7 = reader.ReadUInt64(); this.c7a = reader.ReadUInt16(); this.c7b = reader.ReadUInt16(); this.Unknown_164h = reader.ReadUInt32(); this.p8 = reader.ReadUInt64(); this.c8 = reader.ReadUInt16(); this.c9 = reader.ReadUInt16(); 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.pxx = reader.ReadUInt64(); this.cxx1 = reader.ReadUInt16(); this.cxx2 = reader.ReadUInt16(); this.Unknown_194h = reader.ReadUInt32(); 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.p11 = reader.ReadUInt64(); this.c11a = reader.ReadUInt16(); this.c11b = reader.ReadUInt16(); this.Unknown_1FCh = reader.ReadUInt32(); this.Unknown_200h = reader.ReadUInt32(); this.Unknown_204h = reader.ReadUInt32(); this.Unknown_208h = reader.ReadUInt32(); this.Unknown_20Ch = reader.ReadUInt32(); this.p12 = reader.ReadUInt64(); this.c12a = reader.ReadUInt16(); this.c12b = reader.ReadUInt16(); this.Unknown_21Ch = reader.ReadUInt32(); 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.p4data = reader.ReadBlockAt<ResourcePointerArray64<Behaviour_GTA5_pc>>( this.p4, // offset this.c1 ); this.p5data = reader.ReadBlockAt<ResourcePointerArray64<Behaviour_GTA5_pc>>( this.p5, // offset this.c3 ); this.p6data = reader.ReadBlockAt<ResourcePointerArray64<Behaviour_GTA5_pc>>( this.p6, // offset this.c5 ); this.p7data = reader.ReadBlockAt<ResourcePointerArray64<Behaviour_GTA5_pc>>( this.p7, // offset this.c7a ); this.p8data = reader.ReadBlockAt<ResourcePointerArray64<Behaviour_GTA5_pc>>( this.p8, // offset this.c8 ); this.pxxdata = reader.ReadBlockAt<ResourceSimpleArray<Unknown_P_032>>( this.pxx, // offset this.cxx1 ); this.p9data = reader.ReadBlockAt<string_r>( this.p9 // offset ); this.p10data = reader.ReadBlockAt<string_r>( this.p10 // offset ); this.p11data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_007>>( this.p11, // offset this.c11a ); this.p12data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_P_022>>( this.p12, // offset this.c12a ); }
/// <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.emb1 = reader.ReadBlock<Unknown_P_018>(); this.emb2 = reader.ReadBlock<Unknown_P_018>(); this.emb3 = reader.ReadBlock<Unknown_P_018>(); this.emb4 = reader.ReadBlock<Unknown_P_018>(); this.Unknown_258h = reader.ReadUInt32(); this.Unknown_25Ch = reader.ReadUInt32(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_26Ch = reader.ReadUInt32(); this.Unknown_270h = reader.ReadUInt32(); this.Unknown_274h = reader.ReadUInt32(); this.Unknown_278h = reader.ReadUInt32(); this.Unknown_27Ch = reader.ReadUInt32(); // read reference data this.refs = reader.ReadBlockAt<ResourcePointerArray64<Unknown_P_018>>( this.pref, // offset this.refcnt2 ); }
/// <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.NamePointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.p2 = reader.ReadUInt64(); this.Unknown_40h = reader.ReadUInt32(); this.Unknown_44h = reader.ReadUInt32(); this.p3 = reader.ReadUInt64(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.p4 = reader.ReadUInt64(); 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.emb1 = reader.ReadBlock <Unknown_P_018>(); this.emb2 = reader.ReadBlock <Unknown_P_018>(); this.emb3 = reader.ReadBlock <Unknown_P_018>(); this.emb4 = reader.ReadBlock <Unknown_P_018>(); this.emb5 = reader.ReadBlock <Unknown_P_018>(); this.emb6 = reader.ReadBlock <Unknown_P_018>(); this.emb7 = reader.ReadBlock <Unknown_P_018>(); this.emb8 = reader.ReadBlock <Unknown_P_018>(); this.emb9 = reader.ReadBlock <Unknown_P_018>(); this.emb10 = reader.ReadBlock <Unknown_P_018>(); this.pref = reader.ReadUInt64(); this.refcnt1 = reader.ReadUInt16(); this.refcnt2 = reader.ReadUInt16(); this.Unknown_624h = reader.ReadUInt32(); this.Unknown_628h = reader.ReadUInt32(); this.Unknown_62Ch = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); this.p2data = reader.ReadBlockAt <Unknown_P_004>( this.p2 // offset ); this.p3data = reader.ReadBlockAt <Unknown_P_004>( this.p3 // offset ); this.p4data = reader.ReadBlockAt <Unknown_P_004>( this.p4 // offset ); this.refs = reader.ReadBlockAt <ResourcePointerArray64 <Unknown_P_018> >( this.pref, // offset this.refcnt2 ); }
/// <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.NamePointer = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt32(); this.Unknown_2Ch = reader.ReadUInt32(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.p2 = reader.ReadUInt64(); this.Unknown_40h = reader.ReadUInt32(); this.Unknown_44h = reader.ReadUInt32(); this.p3 = reader.ReadUInt64(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.p4 = reader.ReadUInt64(); 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.KeyframeProp0 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp1 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp2 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp3 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp4 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp5 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp6 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp7 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp8 = reader.ReadBlock <KeyframeProp>(); this.KeyframeProp9 = reader.ReadBlock <KeyframeProp>(); this.KeyframePropsPointer = reader.ReadUInt64(); this.KeyframePropsCount1 = reader.ReadUInt16(); this.KeyframePropsCount2 = reader.ReadUInt16(); this.Unknown_624h = reader.ReadUInt32(); this.Unknown_628h = reader.ReadUInt32(); this.Unknown_62Ch = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); this.p2data = reader.ReadBlockAt <Domain>( this.p2 // offset ); this.p3data = reader.ReadBlockAt <Domain>( this.p3 // offset ); this.p4data = reader.ReadBlockAt <Domain>( this.p4 // offset ); this.KeyframeProps = reader.ReadBlockAt <ResourcePointerArray64 <KeyframeProp> >( this.KeyframePropsPointer, // offset this.KeyframePropsCount2 ); }
/// <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.ReadUInt32(); this.Unknown_74h = reader.ReadUInt32(); this.p1 = reader.ReadUInt64(); this.p2 = reader.ReadUInt64(); this.c1 = reader.ReadByte(); this.c2 = reader.ReadByte(); this.Unknown_8Ah = reader.ReadUInt16(); 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 = reader.ReadUInt32(); this.Unknown_ACh = reader.ReadUInt32(); // read reference data this.p1data = reader.ReadBlockAt<ResourcePointerArray64<Unknown_F_031>>( this.p1, // offset this.c2 ); this.p2data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Vector4>>( this.p2, // offset this.c1 ); }
/// <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_Pointer = reader.ReadUInt64(); this.Unknown_28h_Pointer = reader.ReadUInt64(); this.Unknown_30h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_40h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_50h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_60h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_70h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_80h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_90h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_A0h = reader.ReadBlock<RAGE_Vector4>(); this.Unknown_B0h = reader.ReadBlock<RAGE_Vector4>(); this.GroupNamesPointer = reader.ReadUInt64(); this.GroupsPointer = reader.ReadUInt64(); this.ChildrenPointer = reader.ReadUInt64(); this.Archetype1Pointer = reader.ReadUInt64(); this.Archetype2Pointer = reader.ReadUInt64(); this.BoundPointer = reader.ReadUInt64(); this.Unknown_F0h_Pointer = reader.ReadUInt64(); this.Unknown_F8h_Pointer = reader.ReadUInt64(); this.Unknown_100h_Pointer = reader.ReadUInt64(); this.Unknown_108h_Pointer = reader.ReadUInt64(); this.Unknown_110h_Pointer = reader.ReadUInt64(); this.Count1 = reader.ReadByte(); this.Count2 = reader.ReadByte(); this.GroupsCount = reader.ReadByte(); this.Unknown_11Bh = reader.ReadByte(); this.Unknown_11Ch = reader.ReadByte(); this.ChildrenCount = reader.ReadByte(); this.Count3 = reader.ReadByte(); this.Unknown_11Fh = reader.ReadByte(); this.Unknown_120h = reader.ReadUInt32(); this.Unknown_124h = reader.ReadUInt32(); this.Unknown_128h = reader.ReadUInt32(); this.Unknown_12Ch = reader.ReadUInt32(); // read reference data this.Unknown_20h_Data = reader.ReadBlockAt<Unknown_F_030>( this.Unknown_20h_Pointer // offset ); this.Unknown_28h_Data = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>( this.Unknown_28h_Pointer, // offset this.ChildrenCount ); this.GroupNames = reader.ReadBlockAt<ResourcePointerArray64<fragNameStruct_GTA5_pc>>( this.GroupNamesPointer, // offset this.GroupsCount ); this.Groups = reader.ReadBlockAt<ResourcePointerArray64<FragTypeGroup_GTA5_pc>>( this.GroupsPointer, // offset this.GroupsCount ); this.Children = reader.ReadBlockAt<ResourcePointerArray64<FragTypeChild_GTA5_pc>>( this.ChildrenPointer, // offset this.ChildrenCount ); this.Archetype1 = reader.ReadBlockAt<Archetype_GTA5_pc>( this.Archetype1Pointer // offset ); this.Archetype2 = reader.ReadBlockAt<Archetype_GTA5_pc>( this.Archetype2Pointer // offset ); this.Bound = reader.ReadBlockAt<Bound_GTA5_pc>( this.BoundPointer // offset ); this.Unknown_F0h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Vector4>>( this.Unknown_F0h_Pointer, // offset this.ChildrenCount ); this.Unknown_F8h_Data = reader.ReadBlockAt<ResourceSimpleArray<RAGE_Vector4>>( this.Unknown_F8h_Pointer, // offset this.ChildrenCount ); this.Unknown_100h_Data = reader.ReadBlockAt<Unknown_F_002>( this.Unknown_100h_Pointer // offset ); this.Unknown_108h_Data = reader.ReadBlockAt<ResourceSimpleArray<byte_r>>( this.Unknown_108h_Pointer, // offset this.Count1 ); this.Unknown_110h_Data = reader.ReadBlockAt<ResourceSimpleArray<byte_r>>( this.Unknown_110h_Pointer, // offset this.Count2 ); }