internal ScenarioNetgameEquipmentBlockBase(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.gameType1 = (GameType1)binaryReader.ReadInt16(); this.gameType2 = (GameType2)binaryReader.ReadInt16(); this.gameType3 = (GameType3)binaryReader.ReadInt16(); this.gameType4 = (GameType4)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.spawnTimeInSeconds0Default = binaryReader.ReadInt16(); this.respawnOnEmptyTimeSeconds = binaryReader.ReadInt16(); this.respawnTimerStarts = (RespawnTimerStarts)binaryReader.ReadInt16(); this.classification = (Classification)binaryReader.ReadByte(); this.invalidName_0 = binaryReader.ReadBytes(3); this.invalidName_1 = binaryReader.ReadBytes(40); this.position = binaryReader.ReadVector3(); this.orientation = new ScenarioNetgameEquipmentOrientationStructBlock(binaryReader); this.itemVehicleCollection = binaryReader.ReadTagReference(); this.invalidName_2 = binaryReader.ReadBytes(48); }
public ScenarioNetgameEquipmentBlock(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.gameType1 = (GameType1)binaryReader.ReadInt16(); this.gameType2 = (GameType2)binaryReader.ReadInt16(); this.gameType3 = (GameType3)binaryReader.ReadInt16(); this.gameType4 = (GameType4)binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.spawnTimeInSeconds0Default = binaryReader.ReadInt16(); this.respawnOnEmptyTimeSeconds = binaryReader.ReadInt16(); this.respawnTimerStarts = (RespawnTimerStarts)binaryReader.ReadInt16(); this.classification = (Classification)binaryReader.ReadByte(); this.padding0 = binaryReader.ReadBytes(3); this.padding1 = binaryReader.ReadBytes(40); this.position = binaryReader.ReadVector3(); this.orientation = new ScenarioNetgameEquipmentOrientationStruct(binaryReader); this.itemVehicleCollection = binaryReader.ReadTagReference(); this.padding2 = binaryReader.ReadBytes(48); }