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.ScenarioStartingEquipmentFlags = ((Flags)(binaryReader.ReadInt32())); this.GameType1 = ((GameType1Enum)(binaryReader.ReadInt16())); this.GameType2 = ((GameType2Enum)(binaryReader.ReadInt16())); this.GameType3 = ((GameType3Enum)(binaryReader.ReadInt16())); this.GameType4 = ((GameType4Enum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(48); this.ItemCollection1 = binaryReader.ReadTagReference(); this.ItemCollection2 = binaryReader.ReadTagReference(); this.ItemCollection3 = binaryReader.ReadTagReference(); this.ItemCollection4 = binaryReader.ReadTagReference(); this.ItemCollection5 = binaryReader.ReadTagReference(); this.ItemCollection6 = binaryReader.ReadTagReference(); this.fieldpad0 = binaryReader.ReadBytes(48); 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.Position = binaryReader.ReadVector3(); this.Facing = binaryReader.ReadSingle(); this.TeamDesignator = ((TeamDesignatorEnum)(binaryReader.ReadInt16())); this.BSPIndex = binaryReader.ReadInt16(); this.GameType1 = ((GameType1Enum)(binaryReader.ReadInt16())); this.GameType2 = ((GameType2Enum)(binaryReader.ReadInt16())); this.GameType3 = ((GameType3Enum)(binaryReader.ReadInt16())); this.GameType4 = ((GameType4Enum)(binaryReader.ReadInt16())); this.SpawnType0 = ((SpawnType0Enum)(binaryReader.ReadInt16())); this.SpawnType1 = ((SpawnType1Enum)(binaryReader.ReadInt16())); this.SpawnType2 = ((SpawnType2Enum)(binaryReader.ReadInt16())); this.SpawnType3 = ((SpawnType3Enum)(binaryReader.ReadInt16())); this.EMPTYSTRING = binaryReader.ReadStringID(); this.EMPTYSTRING0 = binaryReader.ReadStringID(); this.CampaignPlayerType = ((CampaignPlayerTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(6); 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.ScenarioNetgameEquipmentFlags = ((Flags)(binaryReader.ReadInt32())); this.GameType1 = ((GameType1Enum)(binaryReader.ReadInt16())); this.GameType2 = ((GameType2Enum)(binaryReader.ReadInt16())); this.GameType3 = ((GameType3Enum)(binaryReader.ReadInt16())); this.GameType4 = ((GameType4Enum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.SpawnTime = binaryReader.ReadInt16(); this.RespawnOnEmptyTime = binaryReader.ReadInt16(); this.RespawnTimerStarts = ((RespawnTimerStartsEnum)(binaryReader.ReadInt16())); this.Classification = ((ClassificationEnum)(binaryReader.ReadByte())); this.fieldpad0 = binaryReader.ReadBytes(3); this.fieldpad1 = binaryReader.ReadBytes(40); this.Position = binaryReader.ReadVector3(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Orientation.ReadFields(binaryReader))); this.ItemVehicleCollection = binaryReader.ReadTagReference(); this.fieldpad2 = binaryReader.ReadBytes(48); return(pointerQueue); }