public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.ParentFolder = binaryReader.ReadLongBlockIndex1(); this.Name = binaryReader.ReadString256(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Particle = binaryReader.ReadTagReference(); this.Location = binaryReader.ReadLongBlockIndex1(); this.CoordinateSystem = ((CoordinateSystemEnum)(binaryReader.ReadInt16())); this.Environment = ((EnvironmentEnum)(binaryReader.ReadInt16())); this.Disposition = ((DispositionEnum)(binaryReader.ReadInt16())); this.CameraMode = ((CameraModeEnum)(binaryReader.ReadInt16())); this.SortBias = binaryReader.ReadInt16(); this.ParticleSystemDefinitionNewFlags = ((Flags)(binaryReader.ReadInt16())); this.LODInDistance = binaryReader.ReadSingle(); this.LODFeatherInDelta = binaryReader.ReadSingle(); this.fieldskip = binaryReader.ReadBytes(4); this.LODOutDistance = binaryReader.ReadSingle(); this.LODFeatherOutDelta = binaryReader.ReadSingle(); this.fieldskip0 = binaryReader.ReadBytes(4); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(184)); return(pointerQueue); }
public static void Write(this BinaryWriter binaryWriter, LongBlockIndex1 value) { binaryWriter.Write((int)value); }
internal GScenarioEditorFolderBlockBase(BinaryReader binaryReader) { this.parentFolder = binaryReader.ReadLongBlockIndex1(); this.name = binaryReader.ReadString256(); }