public override void Write(BinaryWriter file) { offset.Write(file); count.Write(file); nullbytes.Write(file); groupIdx.Write(file); }
public override void Write(BinaryWriter file) { //Write the 8 unknown bytes. Unknown1.Write(file); Unknown2.Write(file); //Write the resources file.WriteVLQInt32(Resources.variables.Count); foreach (var cvar in Resources.variables) { cvar.Write(file); } //Write the objects file.WriteVLQInt32(Objects.variables.Count); foreach (var cvar in Objects.variables) { cvar.Write(file); } //Write the block data. //first assemble from bytearrays from the individual objects List <byte> newbyte = new List <byte>(); foreach (CSectorDataObject obj in Objects.GetEditableVariables()) { newbyte.AddRange(obj.blockdata.Bytes); } BlockData.Bytes = newbyte.ToArray(); //write the data back into one block file.WriteVLQInt32(BlockData.Bytes.Length); file.Write(BlockData.Bytes); }
public override void Write(BinaryWriter file) { base.Write(file); unk1.Write(file); animevents.Write(file); }
public override void Write(BinaryWriter file) { startingIndex.Write(file); endingIndex.Write(file); chunkIndex.Write(file); boneIndex.Write(file); }
public override void Write(BinaryWriter file) { base.Write(file); swfResource.Write(file); unk1.Write(file); }
public override void Write(BinaryWriter file) { base.Write(file); unk.Write(file); mips.Write(file); filesize.Write(file); unk2.Write(file); Image.Write(file); }
public override void Write(BinaryWriter file) { time.Write(file); value.Write(file); controlPoint1.Write(file); controlPoint2.Write(file); curveTypeL.Write(file); curveTypeR.Write(file); //unk3.Write(file); //unk4.Write(file); }
public override void Write(BinaryWriter file) { CUInt32 count = new CUInt32(cr2w, null, "") { val = (uint)elements.Count }; count.Write(file); base.Write(file); }
public override void Write(BinaryWriter file) { rotationMatrix.Write(file); position.Write(file); streamingRadius.Write(file); flags.Write(file); occlusionSystemID.Write(file); resourceIndex.Write(file); tail.Write(file); }
public override void Write(BinaryWriter file) { base.Write(file); unk1.Write(file); unk2.Write(file); file.WriteBit6(components.array.Count); for (var i = 0; i < components.array.Count; i++) { components.array[i].Write(file); } }
public override void Write(BinaryWriter file) { base.Write(file); unk.Write(file); MipsCount.Write(file); Mips.Write(file); ResidentmipSize.Write(file); unk2.Write(file); Residentmip.Write(file); }
public override void Write(BinaryWriter file) { base.Write(file); texturecachekey.Write(file); residentmip.Write(file); encodedformat.Write(file); edge.Write(file); mipmapscount.Write(file); filesize.Write(file); ffffffff.Write(file); rawfile.Write(file); }
public override void Write(BinaryWriter file) { base.Write(file); unk1.Write(file); unk2.Write(file); variables1.Write(file); unk3.Write(file); descriptions.Write(file); unk4.Write(file); vectorvariables1.Write(file); unk5.Write(file); variables2.Write(file); unk6.Write(file); vectorvariables2.Write(file); }
public override void Write(BinaryWriter file) { //Write the 8 unknown bytes. Unknown1.Write(file); Unknown2.Write(file); Resources.Write(file); Objects.Write(file); byte[] buffer; using (var ms = new MemoryStream()) using (var bw = new BinaryWriter(ms)) { BlockData.Write(bw); blocksize.val = (int)ms.Length; buffer = ms.ToArray(); } blocksize.Write(file); file.Write(buffer); }
public override void Write(BinaryWriter file) { //Write the 8 unknown bytes. Unknown1.Write(file); Unknown2.Write(file); //Write the resources file.WriteVLQInt32(Resources.variables.Count); foreach (var cvar in Resources.variables) { cvar.Write(file); } //Write the objects file.WriteVLQInt32(Objects.variables.Count); foreach (var cvar in Objects.variables) { cvar.Write(file); } //Write the block data. file.WriteVLQInt32(BlockData.Bytes.Length); file.Write(BlockData.Bytes); }
public override void Write(BinaryWriter file) { Unk1.Write(file); Collisiontypes.Write(file); Data.Write(file); }
public override void Write(BinaryWriter file) { Width.Write(file); Height.Write(file); Blocksize.Write(file); }
public override void Write(BinaryWriter file) { key.Write(file); val.Write(file); }
public override void Write(BinaryWriter file) { index.Write(file); blendvalue.Write(file); }