internal SquadsBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.flags = (Flags)binaryReader.ReadInt32(); this.team = (Team)binaryReader.ReadInt16(); this.parent = binaryReader.ReadShortBlockIndex1(); this.squadDelayTimeSeconds = binaryReader.ReadSingle(); this.normalDiffCount = binaryReader.ReadInt16(); this.insaneDiffCount = binaryReader.ReadInt16(); this.majorUpgrade = (MajorUpgrade)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.vehicleType = binaryReader.ReadShortBlockIndex1(); this.characterType = binaryReader.ReadShortBlockIndex1(); this.initialZone = binaryReader.ReadShortBlockIndex1(); this.invalidName_0 = binaryReader.ReadBytes(2); this.initialWeapon = binaryReader.ReadShortBlockIndex1(); this.initialSecondaryWeapon = binaryReader.ReadShortBlockIndex1(); this.grenadeType = (GrenadeType)binaryReader.ReadInt16(); this.initialOrder = binaryReader.ReadShortBlockIndex1(); this.vehicleVariant = binaryReader.ReadStringID(); this.startingLocations = ReadActorStartingLocationsBlockArray(binaryReader); this.placementScript = binaryReader.ReadString32(); this.invalidName_1 = binaryReader.ReadBytes(2); this.invalidName_2 = binaryReader.ReadBytes(2); }
internal ShaderPostprocessOverlayNewBlockBase(BinaryReader binaryReader) { this.inputName = binaryReader.ReadStringID(); this.rangeName = binaryReader.ReadStringID(); this.timePeriodInSeconds = binaryReader.ReadSingle(); this.function = new ScalarFunctionStructBlock(binaryReader); }
internal ObjectChangeColorInitialPermutationBase(BinaryReader binaryReader) { this.weight = binaryReader.ReadSingle(); this.colorLowerBound = binaryReader.ReadColorR8G8B8(); this.colorUpperBound = binaryReader.ReadColorR8G8B8(); this.variantName = binaryReader.ReadStringID(); }
internal ModelBlockBase(BinaryReader binaryReader) { this.renderModel = binaryReader.ReadTagReference(); this.collisionModel = binaryReader.ReadTagReference(); this.animation = binaryReader.ReadTagReference(); this.physics = binaryReader.ReadTagReference(); this.physicsModel = binaryReader.ReadTagReference(); this.disappearDistanceWorldUnits = binaryReader.ReadSingle(); this.beginFadeDistanceWorldUnits = binaryReader.ReadSingle(); this.invalidName_ = binaryReader.ReadBytes(4); this.reduceToL1WorldUnitsSuperLow = binaryReader.ReadSingle(); this.reduceToL2WorldUnitsLow = binaryReader.ReadSingle(); this.reduceToL3WorldUnitsMedium = binaryReader.ReadSingle(); this.reduceToL4WorldUnitsHigh = binaryReader.ReadSingle(); this.reduceToL5WorldUnitsSuperHigh = binaryReader.ReadSingle(); this.invalidName_0 = binaryReader.ReadBytes(4); this.shadowFadeDistance = (ShadowFadeDistance)binaryReader.ReadInt16(); this.invalidName_1 = binaryReader.ReadBytes(2); this.variants = ReadModelVariantBlockArray(binaryReader); this.materials = ReadModelMaterialBlockArray(binaryReader); this.newDamageInfo = ReadGlobalDamageInfoBlockArray(binaryReader); this.targets = ReadModelTargetBlockArray(binaryReader); this.modelRegionBlock = ReadModelRegionBlockArray(binaryReader); this.modelNodeBlock = ReadModelNodeBlockArray(binaryReader); this.invalidName_2 = binaryReader.ReadBytes(4); this.modelObjectData = ReadModelObjectDataBlockArray(binaryReader); this.defaultDialogue = binaryReader.ReadTagReference(); this.uNUSED = binaryReader.ReadTagReference(); this.flags = (Flags)binaryReader.ReadInt32(); this.defaultDialogueEffect = binaryReader.ReadStringID(); this.renderOnlyNodeFlags = new RenderOnlyNodeFlags(binaryReader); this.invalidName_3 = binaryReader.ReadByte(); }
internal RenderModelBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.flags = (Flags)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.invalidName_0 = binaryReader.ReadBytes(4); this.importInfo = ReadGlobalTagImportInfoBlockArray(binaryReader); this.compressionInfo = ReadGlobalGeometryCompressionInfoBlockArray(binaryReader); this.regions = ReadRenderModelRegionBlockArray(binaryReader); this.sections = ReadRenderModelSectionBlockArray(binaryReader); this.invalidSectionPairBits = ReadRenderModelInvalidSectionPairsBlockArray(binaryReader); this.sectionGroups = ReadRenderModelSectionGroupBlockArray(binaryReader); this.l1SectionGroupIndexSuperLow = binaryReader.ReadByte(); this.l2SectionGroupIndexLow = binaryReader.ReadByte(); this.l3SectionGroupIndexMedium = binaryReader.ReadByte(); this.l4SectionGroupIndexHigh = binaryReader.ReadByte(); this.l5SectionGroupIndexSuperHigh = binaryReader.ReadByte(); this.l6SectionGroupIndexHollywood = binaryReader.ReadByte(); this.invalidName_1 = binaryReader.ReadBytes(2); this.nodeListChecksum = binaryReader.ReadInt32(); this.nodes = ReadRenderModelNodeBlockArray(binaryReader); this.nodeMapOLD = ReadRenderModelNodeMapBlockOLDArray(binaryReader); this.markerGroups = ReadRenderModelMarkerGroupBlockArray(binaryReader); this.materials = ReadGlobalGeometryMaterialBlockArray(binaryReader); this.errors = ReadGlobalErrorReportCategoriesBlockArray(binaryReader); this.dontDrawOverCameraCosineAngle = binaryReader.ReadSingle(); this.pRTInfo = ReadPrtInfoBlockArray(binaryReader); this.sectionRenderLeaves = ReadSectionRenderLeavesBlockArray(binaryReader); }
internal ScenarioPlanarFogPaletteBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.planarFog = binaryReader.ReadTagReference(); this.invalidName_ = binaryReader.ReadBytes(2); this.invalidName_0 = binaryReader.ReadBytes(2); }
internal ScenarioAtmosphericFogPaletteBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.color = binaryReader.ReadColorR8G8B8(); this.spreadDistanceWorldUnits = binaryReader.ReadSingle(); this.invalidName_ = binaryReader.ReadBytes(4); this.maximumDensity01 = binaryReader.ReadSingle(); this.startDistanceWorldUnits = binaryReader.ReadSingle(); this.opaqueDistanceWorldUnits = binaryReader.ReadSingle(); this.color0 = binaryReader.ReadColorR8G8B8(); this.invalidName_0 = binaryReader.ReadBytes(4); this.maximumDensity010 = binaryReader.ReadSingle(); this.startDistanceWorldUnits0 = binaryReader.ReadSingle(); this.opaqueDistanceWorldUnits0 = binaryReader.ReadSingle(); this.invalidName_1 = binaryReader.ReadBytes(4); this.planarColor = binaryReader.ReadColorR8G8B8(); this.planarMaxDensity01 = binaryReader.ReadSingle(); this.planarOverrideAmount01 = binaryReader.ReadSingle(); this.planarMinDistanceBiasWorldUnits = binaryReader.ReadSingle(); this.invalidName_2 = binaryReader.ReadBytes(44); this.patchyColor = binaryReader.ReadColorR8G8B8(); this.invalidName_3 = binaryReader.ReadBytes(12); this.patchyDensity01 = binaryReader.ReadVector2(); this.patchyDistanceWorldUnits = binaryReader.ReadRange(); this.invalidName_4 = binaryReader.ReadBytes(32); this.patchyFog = binaryReader.ReadTagReference(); this.mixers = ReadScenarioAtmosphericFogMixerBlockArray(binaryReader); this.amount01 = binaryReader.ReadSingle(); this.threshold01 = binaryReader.ReadSingle(); this.brightness01 = binaryReader.ReadSingle(); this.gammaPower = binaryReader.ReadSingle(); this.cameraImmersionFlags = (CameraImmersionFlags)binaryReader.ReadInt16(); this.invalidName_5 = binaryReader.ReadBytes(2); }
internal ModelPermutationBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.flags = (Flags)binaryReader.ReadByte(); this.collisionPermutationIndex = binaryReader.ReadByte(); this.invalidName_ = binaryReader.ReadBytes(2); }
internal StaticSpawnZoneDataStructBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.relevantTeam = (RelevantTeam)binaryReader.ReadInt32(); this.relevantGames = (RelevantGames)binaryReader.ReadInt32(); this.flags = (Flags)binaryReader.ReadInt32(); }
internal ShaderPassPostprocessConstantNewBlockBase(BinaryReader binaryReader) { this.parameterName = binaryReader.ReadStringID(); this.componentMask = binaryReader.ReadByte(); this.scaleByTextureStage = binaryReader.ReadByte(); this.functionIndex = binaryReader.ReadByte(); }
internal AiSceneRoleBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.group = (Group)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.roleVariants = ReadAiSceneRoleVariantsBlockArray(binaryReader); }
internal ActorStartingLocationsBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.position = binaryReader.ReadVector3(); this.referenceFrame = binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.facingYawPitchDegrees = binaryReader.ReadVector2(); this.flags = (Flags)binaryReader.ReadInt32(); this.characterType = binaryReader.ReadShortBlockIndex1(); this.initialWeapon = binaryReader.ReadShortBlockIndex1(); this.initialSecondaryWeapon = binaryReader.ReadShortBlockIndex1(); this.invalidName_0 = binaryReader.ReadBytes(2); this.vehicleType = binaryReader.ReadShortBlockIndex1(); this.seatType = (SeatType)binaryReader.ReadInt16(); this.grenadeType = (GrenadeType)binaryReader.ReadInt16(); this.swarmCount = binaryReader.ReadInt16(); this.actorVariantName = binaryReader.ReadStringID(); this.vehicleVariantName = binaryReader.ReadStringID(); this.initialMovementDistance = binaryReader.ReadSingle(); this.emitterVehicle = binaryReader.ReadShortBlockIndex1(); this.initialMovementMode = (InitialMovementMode)binaryReader.ReadInt16(); this.placementScript = binaryReader.ReadString32(); this.invalidName_1 = binaryReader.ReadBytes(2); this.invalidName_2 = binaryReader.ReadBytes(2); }
internal AiSceneBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.flags = (Flags)binaryReader.ReadInt32(); this.triggerConditions = ReadAiSceneTriggerBlockArray(binaryReader); this.roles = ReadAiSceneRoleBlockArray(binaryReader); }
internal UnitSeatBlockBase(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.label = binaryReader.ReadStringID(); this.markerName = binaryReader.ReadStringID(); this.entryMarkerSName = binaryReader.ReadStringID(); this.boardingGrenadeMarker = binaryReader.ReadStringID(); this.boardingGrenadeString = binaryReader.ReadStringID(); this.boardingMeleeString = binaryReader.ReadStringID(); this.pingScale = binaryReader.ReadSingle(); this.turnoverTimeSeconds = binaryReader.ReadSingle(); this.acceleration = new UnitSeatAccelerationStructBlock(binaryReader); this.aIScariness = binaryReader.ReadSingle(); this.aiSeatType = (AiSeatType)binaryReader.ReadInt16(); this.boardingSeat = binaryReader.ReadShortBlockIndex1(); this.listenerInterpolationFactor = binaryReader.ReadSingle(); this.yawRateBoundsDegreesPerSecond = binaryReader.ReadRange(); this.pitchRateBoundsDegreesPerSecond = binaryReader.ReadRange(); this.minSpeedReference = binaryReader.ReadSingle(); this.maxSpeedReference = binaryReader.ReadSingle(); this.speedExponent = binaryReader.ReadSingle(); this.unitCamera = new UnitCameraStructBlock(binaryReader); this.unitHudInterface = ReadUnitHudReferenceBlockArray(binaryReader); this.enterSeatString = binaryReader.ReadStringID(); this.yawMinimum = binaryReader.ReadSingle(); this.yawMaximum = binaryReader.ReadSingle(); this.builtInGunner = binaryReader.ReadTagReference(); this.entryRadius = binaryReader.ReadSingle(); this.entryMarkerConeAngle = binaryReader.ReadSingle(); this.entryMarkerFacingAngle = binaryReader.ReadSingle(); this.maximumRelativeVelocity = binaryReader.ReadSingle(); this.invisibleSeatRegion = binaryReader.ReadStringID(); this.runtimeInvisibleSeatRegionIndex = binaryReader.ReadInt32(); }
internal RenderModelRegionBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.nodeMapOffsetOLD = binaryReader.ReadInt16(); this.nodeMapSizeOLD = binaryReader.ReadInt16(); this.permutations = ReadRenderModelPermutationBlockArray(binaryReader); }
internal FlockDefinitionBlockBase(BinaryReader binaryReader) { this.bsp = binaryReader.ReadShortBlockIndex1(); this.invalidName_ = binaryReader.ReadBytes(2); this.boundingVolume = binaryReader.ReadShortBlockIndex1(); this.flags = (Flags)binaryReader.ReadInt16(); this.ecologyMarginWus = binaryReader.ReadSingle(); this.sources = ReadFlockSourceBlockArray(binaryReader); this.sinks = ReadFlockSinkBlockArray(binaryReader); this.productionFrequencyBoidsSec = binaryReader.ReadSingle(); this.scale = binaryReader.ReadRange(); this.creature = binaryReader.ReadTagReference(); this.boidCount = binaryReader.ReadInt32(); this.neighborhoodRadiusWorldUnits = binaryReader.ReadSingle(); this.avoidanceRadiusWorldUnits = binaryReader.ReadSingle(); this.forwardScale01 = binaryReader.ReadSingle(); this.alignmentScale01 = binaryReader.ReadSingle(); this.avoidanceScale01 = binaryReader.ReadSingle(); this.levelingForceScale01 = binaryReader.ReadSingle(); this.sinkScale01 = binaryReader.ReadSingle(); this.perceptionAngleDegrees = binaryReader.ReadSingle(); this.averageThrottle01 = binaryReader.ReadSingle(); this.maximumThrottle01 = binaryReader.ReadSingle(); this.positionScale01 = binaryReader.ReadSingle(); this.positionMinRadiusWus = binaryReader.ReadSingle(); this.positionMaxRadiusWus = binaryReader.ReadSingle(); this.movementWeightThreshold = binaryReader.ReadSingle(); this.dangerRadiusWus = binaryReader.ReadSingle(); this.dangerScale = binaryReader.ReadSingle(); this.randomOffsetScale01 = binaryReader.ReadSingle(); this.randomOffsetPeriodSeconds = binaryReader.ReadRange(); this.flockName = binaryReader.ReadStringID(); }
internal SpheresBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.material = binaryReader.ReadShortBlockIndex1(); this.flags = (Flags)binaryReader.ReadInt16(); this.relativeMassScale = binaryReader.ReadSingle(); this.friction = binaryReader.ReadSingle(); this.restitution = binaryReader.ReadSingle(); this.volume = binaryReader.ReadSingle(); this.mass = binaryReader.ReadSingle(); this.invalidName_ = binaryReader.ReadBytes(2); this.phantom = binaryReader.ReadShortBlockIndex1(); this.invalidName_0 = binaryReader.ReadBytes(4); this.size = binaryReader.ReadInt16(); this.count = binaryReader.ReadInt16(); this.invalidName_1 = binaryReader.ReadBytes(4); this.radius = binaryReader.ReadSingle(); this.invalidName_2 = binaryReader.ReadBytes(4); this.size0 = binaryReader.ReadInt16(); this.count0 = binaryReader.ReadInt16(); this.invalidName_3 = binaryReader.ReadBytes(4); this.invalidName_4 = binaryReader.ReadBytes(4); this.rotationI = binaryReader.ReadVector3(); this.invalidName_5 = binaryReader.ReadBytes(4); this.rotationJ = binaryReader.ReadVector3(); this.invalidName_6 = binaryReader.ReadBytes(4); this.rotationK = binaryReader.ReadVector3(); this.invalidName_7 = binaryReader.ReadBytes(4); this.translation = binaryReader.ReadVector3(); this.invalidName_8 = binaryReader.ReadBytes(4); }
internal ItemBlockBase(BinaryReader binaryReader) : base(binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.oLDMessageIndex = binaryReader.ReadInt16(); this.sortOrder = binaryReader.ReadInt16(); this.multiplayerOnGroundScale = binaryReader.ReadSingle(); this.campaignOnGroundScale = binaryReader.ReadSingle(); this.pickupMessage = binaryReader.ReadStringID(); this.swapMessage = binaryReader.ReadStringID(); this.pickupOrDualMsg = binaryReader.ReadStringID(); this.swapOrDualMsg = binaryReader.ReadStringID(); this.dualOnlyMsg = binaryReader.ReadStringID(); this.pickedUpMsg = binaryReader.ReadStringID(); this.singluarQuantityMsg = binaryReader.ReadStringID(); this.pluralQuantityMsg = binaryReader.ReadStringID(); this.switchToMsg = binaryReader.ReadStringID(); this.switchToFromAiMsg = binaryReader.ReadStringID(); this.uNUSED = binaryReader.ReadTagReference(); this.collisionSound = binaryReader.ReadTagReference(); this.predictedBitmaps = ReadPredictedBitmapsBlockArray(binaryReader); this.detonationDamageEffect = binaryReader.ReadTagReference(); this.detonationDelaySeconds = binaryReader.ReadRange(); this.detonatingEffect = binaryReader.ReadTagReference(); this.detonationEffect = binaryReader.ReadTagReference(); }
internal DamageConstraintInfoBlockBase(BinaryReader binaryReader) { this.physicsModelConstraintName = binaryReader.ReadStringID(); this.damageConstraintName = binaryReader.ReadStringID(); this.damageConstraintGroupName = binaryReader.ReadStringID(); this.groupProbabilityScale = binaryReader.ReadSingle(); this.invalidName_ = binaryReader.ReadBytes(4); }
internal DamageSeatInfoBlockBase(BinaryReader binaryReader) { this.seatLabel = binaryReader.ReadStringID(); this.directDamageScale = binaryReader.ReadSingle(); this.damageTransferFallOffRadius = binaryReader.ReadSingle(); this.maximumTransferDamageScale = binaryReader.ReadSingle(); this.minimumTransferDamageScale = binaryReader.ReadSingle(); }
internal ShaderPostprocessColorOverlayBlockBase(BinaryReader binaryReader) { this.parameterIndex = binaryReader.ReadByte(); this.inputName = binaryReader.ReadStringID(); this.rangeName = binaryReader.ReadStringID(); this.timePeriodInSeconds = binaryReader.ReadSingle(); this.function = new ColorFunctionStructBlock(binaryReader); }
internal ShaderPassVertexShaderConstantBlockBase(BinaryReader binaryReader) { this.sourceParameter = binaryReader.ReadStringID(); this.scaleByTextureStage = (ScaleByTextureStage)binaryReader.ReadInt16(); this.registerBank = (RegisterBank)binaryReader.ReadInt16(); this.registerIndex = binaryReader.ReadInt16(); this.componentMask = (ComponentMask)binaryReader.ReadInt16(); }
internal UnitCameraStructBlockBase(BinaryReader binaryReader) { this.cameraMarkerName = binaryReader.ReadStringID(); this.cameraSubmergedMarkerName = binaryReader.ReadStringID(); this.pitchAutoLevel = binaryReader.ReadSingle(); this.pitchRange = binaryReader.ReadRange(); this.cameraTracks = ReadUnitCameraTrackBlockArray(binaryReader); }
internal ScenarioAtmosphericFogMixerBlockBase(BinaryReader binaryReader) { this.invalidName_ = binaryReader.ReadBytes(4); this.atmosphericFogSourceFromScenarioAtmosphericFogPalette = binaryReader.ReadStringID(); this.interpolatorFromScenarioInterpolators = binaryReader.ReadStringID(); this.invalidName_0 = binaryReader.ReadBytes(2); this.invalidName_1 = binaryReader.ReadBytes(2); }
internal ObjectAiPropertiesBlockBase(BinaryReader binaryReader) { this.aiFlags = (AiFlags)binaryReader.ReadInt32(); this.aiTypeName = binaryReader.ReadStringID(); this.invalidName_ = binaryReader.ReadBytes(4); this.aiSize = (AiSize)binaryReader.ReadInt16(); this.leapJumpSpeed = (LeapJumpSpeed)binaryReader.ReadInt16(); }
internal ModelRegionBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.collisionRegionIndex = binaryReader.ReadByte(); this.physicsRegionIndex = binaryReader.ReadByte(); this.invalidName_ = binaryReader.ReadBytes(2); this.permutations = ReadModelPermutationBlockArray(binaryReader); }
internal ScenarioInterpolatorBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.acceleratorNameInterpolator = binaryReader.ReadStringID(); this.multiplierNameInterpolator = binaryReader.ReadStringID(); this.function = new ScalarFunctionStructBlock(binaryReader); this.invalidName_ = binaryReader.ReadBytes(2); this.invalidName_0 = binaryReader.ReadBytes(2); }
internal ObjectChangeColorFunctionBase(BinaryReader binaryReader) { this.invalidName_ = binaryReader.ReadBytes(4); this.scaleFlags = (ScaleFlags)binaryReader.ReadInt32(); this.colorLowerBound = binaryReader.ReadColorR8G8B8(); this.colorUpperBound = binaryReader.ReadColorR8G8B8(); this.darkenBy = binaryReader.ReadStringID(); this.scaleBy = binaryReader.ReadStringID(); }
internal ObjectAttachmentBlockBase(BinaryReader binaryReader) { this.type = binaryReader.ReadTagReference(); this.marker = binaryReader.ReadStringID(); this.changeColor = (ChangeColor)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.primaryScale = binaryReader.ReadStringID(); this.secondaryScale = binaryReader.ReadStringID(); }
internal ScenarioObjectPermutationStructBlockBase(BinaryReader binaryReader) { this.variantName = binaryReader.ReadStringID(); this.activeChangeColors = (ActiveChangeColors)binaryReader.ReadInt32(); this.primaryColor = binaryReader.ReadRGBColor(); this.secondaryColor = binaryReader.ReadRGBColor(); this.tertiaryColor = binaryReader.ReadRGBColor(); this.quaternaryColor = binaryReader.ReadRGBColor(); }