示例#1
0
 public CQuestScriptBlock(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     BufferParameters = new CCompressedBuffer <CVariant>(cr2w, this, nameof(BufferParameters))
     {
         IsSerialized = true
     };
 }
示例#2
0
 public CSkeleton(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     rigdata = new CCompressedBuffer <SSkeletonRigData>(cr2w, this, nameof(rigdata))
     {
         IsSerialized = true
     };
 }
        public CBitmapTexture(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
        {
            MipsCount = new CUInt32(cr2w, this, nameof(MipsCount))
            {
                IsSerialized = true
            };
            Mipdata = new CCompressedBuffer <SMipData>(cr2w, this, nameof(Mipdata))
            {
                IsSerialized = true
            };
            unk1 = new CUInt16(cr2w, this, nameof(unk1))
            {
                IsSerialized = true
            };
            unk2 = new CUInt16(cr2w, this, nameof(unk2))
            {
                IsSerialized = true
            };

            ResidentmipSize = new CUInt32(cr2w, this, nameof(ResidentmipSize))
            {
                IsSerialized = true
            };
            Residentmip = new CBytes(cr2w, this, nameof(Residentmip))
            {
                IsSerialized = true
            };
        }
示例#4
0
 public CStorySceneScript(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     BufferParameters = new CCompressedBuffer <CVariant>(cr2w, this, nameof(BufferParameters))
     {
         IsSerialized = true
     };
 }
示例#5
0
 public CSectorData(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     blocksize = new CVLQInt32(cr2w, this, nameof(blocksize))
     {
         IsSerialized = true
     };
     BlockData = new CCompressedBuffer <SBlockData>(cr2w, this, nameof(BlockData))
     {
         IsSerialized = true
     };
 }
 public CurvePiece(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     // This has a fixed size in memory, but for some reason file format is allowed to not provide all,
     // leaving the rest to zero values. Possibly has individual fields instead of an array.
     values = new CCompressedBuffer <CFloat>(cr2w, this, nameof(values))
     {
         IsSerialized = true
     };
     valueCount = new CUInt16(cr2w, this, "count")
     {
         val = 16, IsSerialized = true
     };
 }
示例#7
0
        }                                                                            // MAX LIMIT 4

        public CurveInfo(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
        {
            someName = new CName(cr2w, this, nameof(someName))
            {
                IsSerialized = true
            };
            someByte = new CUInt8(cr2w, this, nameof(someByte))
            {
                IsSerialized = true
            };
            pieces = new CCompressedBuffer <CurvePiece>(cr2w, this, nameof(pieces))
            {
                IsSerialized = true
            };
        }
 public CEntity(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Components = new CArray <CPtr <CComponent> >(cr2w, this, nameof(Components))
     {
         IsSerialized = true, Elementtype = "ptr:CComponent"
     };
     BufferV1 = new CCompressedBuffer <SEntityBufferType1>(cr2w, this, nameof(BufferV1))
     {
         IsSerialized = true
     };
     BufferV2 = new CBufferUInt32 <SEntityBufferType2>(cr2w, this, nameof(BufferV2))
     {
         IsSerialized = true
     };
 }
示例#9
0
 public CWayPointsCollection(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Waypoints = new CCompressedBuffer <SBufferWaypoints>(cr2w, this, nameof(Waypoints))
     {
         IsSerialized = true
     };
     ComponentsMappings = new CCompressedBuffer <SBufferComponentsMappings>(cr2w, this, nameof(ComponentsMappings))
     {
         IsSerialized = true
     };
     WaypointsGroups = new CCompressedBuffer <SBufferwaypointsGroup>(cr2w, this, nameof(WaypointsGroups))
     {
         IsSerialized = true
     };
     Indexes = new CCompressedBuffer <CUInt16>(cr2w, this, nameof(Indexes))
     {
         IsSerialized = true
     };
 }
示例#10
0
 public CFXTrackItem(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     buffername = new CName(cr2w, this, nameof(buffername))
     {
         IsSerialized = true
     };
     count = new CDynamicInt(cr2w, this, nameof(count))
     {
         IsSerialized = true
     };
     unk = new CUInt8(cr2w, this, nameof(unk))
     {
         IsSerialized = true
     };
     buffer = new CCompressedBuffer <CBufferUInt16 <CFloat> >(cr2w, this, nameof(buffer))
     {
         IsSerialized = true
     };
 }