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.PathfindingPolicy = ((PathfindingPolicyEnum)(binaryReader.ReadInt16())); this.ScenerySceneryFlags = ((SceneryFlags)(binaryReader.ReadInt16())); this.LightmappingPolicy = ((LightmappingPolicyEnum)(binaryReader.ReadInt16())); this.fieldpad3 = binaryReader.ReadBytes(2); 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.PathfindingPolicy = ((PathfindingPolicyEnum)(binaryReader.ReadInt16())); this.LightmappingPolicy = ((LightmappingPolicyEnum)(binaryReader.ReadInt16())); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4)); this.fieldpad = binaryReader.ReadBytes(2); this.ScenarioSceneryDatumStructV4ValidMultiplayerGames = ((ValidMultiplayerGames)(binaryReader.ReadInt16())); 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.Scale = binaryReader.ReadSingle(); this.Forward = binaryReader.ReadVector3(); this.Left = binaryReader.ReadVector3(); this.Up = binaryReader.ReadVector3(); this.Position = binaryReader.ReadVector3(); this.InstanceDefinition = binaryReader.ReadShortBlockIndex1(); this.StructureBspInstancedGeometryInstancesFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(4); this.fieldskip = binaryReader.ReadBytes(12); this.fieldskip0 = binaryReader.ReadBytes(4); this.Checksum = binaryReader.ReadInt32(); this.Name = binaryReader.ReadStringID(); this.PathfindingPolicy = ((PathfindingPolicyEnum)(binaryReader.ReadInt16())); this.LightmappingPolicy = ((LightmappingPolicyEnum)(binaryReader.ReadInt16())); return(pointerQueue); }