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); }
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.ScriptName = binaryReader.ReadString32(); this.fieldpad = binaryReader.ReadBytes(8); 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.Name = binaryReader.ReadString32(); this.CombatStatusDecayOptions = ((CombatStatusDecayOptionsEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.Attitude = ((AttitudeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.EngageAttitude = ((EngageAttitudeEnum)(binaryReader.ReadByte())); this.EvasionAttitude = ((EvasionAttitudeEnum)(binaryReader.ReadByte())); this.CoverAttitude = ((CoverAttitudeEnum)(binaryReader.ReadByte())); this.SearchAttitude = ((SearchAttitudeEnum)(binaryReader.ReadByte())); this.PresearchAttitude = ((PresearchAttitudeEnum)(binaryReader.ReadByte())); this.RetreatAttitude = ((RetreatAttitudeEnum)(binaryReader.ReadByte())); this.ChargeAttitude = ((ChargeAttitudeEnum)(binaryReader.ReadByte())); this.ReadyAttitude = ((ReadyAttitudeEnum)(binaryReader.ReadByte())); this.IdleAttitude = ((IdleAttitudeEnum)(binaryReader.ReadByte())); this.WeaponAttitude = ((WeaponAttitudeEnum)(binaryReader.ReadByte())); this.SwarmAttitude = ((SwarmAttitudeEnum)(binaryReader.ReadByte())); this.fieldpad1 = binaryReader.ReadBytes(1); this.StyleStyleControl = ((StyleControl)(binaryReader.ReadInt32())); this.StyleBehaviors1 = ((Behaviors1)(binaryReader.ReadInt32())); this.StyleBehaviors2 = ((Behaviors2)(binaryReader.ReadInt32())); this.StyleBehaviors3 = ((Behaviors3)(binaryReader.ReadInt32())); this.StyleBehaviors4 = ((Behaviors4)(binaryReader.ReadInt32())); this.StyleBehaviors5 = ((Behaviors5)(binaryReader.ReadInt32())); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32)); 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.Name = binaryReader.ReadString32(); this.SquadsFlags = ((Flags)(binaryReader.ReadInt32())); this.Team = ((TeamEnum)(binaryReader.ReadInt16())); this.Parent = binaryReader.ReadShortBlockIndex1(); this.SquadDelayTime = binaryReader.ReadSingle(); this.NormalDiffCount = binaryReader.ReadInt16(); this.InsaneDiffCount = binaryReader.ReadInt16(); this.MajorUpgrade = ((MajorUpgradeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.VehicleType = binaryReader.ReadShortBlockIndex1(); this.CharacterType = binaryReader.ReadShortBlockIndex1(); this.InitialZone = binaryReader.ReadShortBlockIndex1(); this.fieldpad0 = binaryReader.ReadBytes(2); this.InitialWeapon = binaryReader.ReadShortBlockIndex1(); this.InitialSecondaryWeapon = binaryReader.ReadShortBlockIndex1(); this.GrenadeType = ((GrenadeTypeEnum)(binaryReader.ReadInt16())); this.InitialOrder = binaryReader.ReadShortBlockIndex1(); this.VehicleVariant = binaryReader.ReadStringID(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(100)); this.PlacementScript = binaryReader.ReadString32(); this.fieldskip = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(2); return(pointerQueue); }
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 HsScriptsBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.scriptType = (ScriptType)binaryReader.ReadInt16(); this.returnType = (ReturnType)binaryReader.ReadInt16(); this.rootExpressionIndex = binaryReader.ReadInt32(); }
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.Name = binaryReader.ReadStringID(); this.Position = binaryReader.ReadVector3(); this.ReferenceFrame = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.Facing = binaryReader.ReadVector2(); this.ActorStartingLocationsFlags = ((Flags)(binaryReader.ReadInt32())); this.CharacterType = binaryReader.ReadShortBlockIndex1(); this.InitialWeapon = binaryReader.ReadShortBlockIndex1(); this.InitialSecondaryWeapon = binaryReader.ReadShortBlockIndex1(); this.fieldpad0 = binaryReader.ReadBytes(2); this.VehicleType = binaryReader.ReadShortBlockIndex1(); this.SeatType = ((SeatTypeEnum)(binaryReader.ReadInt16())); this.GrenadeType = ((GrenadeTypeEnum)(binaryReader.ReadInt16())); this.SwarmCount = binaryReader.ReadInt16(); this.ActorVariantName = binaryReader.ReadStringID(); this.VehicleVariantName = binaryReader.ReadStringID(); this.InitialMovementDistance = binaryReader.ReadSingle(); this.EmitterVehicle = binaryReader.ReadShortBlockIndex1(); this.InitialMovementMode = ((InitialMovementModeEnum)(binaryReader.ReadInt16())); this.PlacementScript = binaryReader.ReadString32(); this.fieldskip = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(2); return(pointerQueue); }
internal EditorCommentBlockBase(BinaryReader binaryReader) { this.position = binaryReader.ReadVector3(); this.type = (Type)binaryReader.ReadInt32(); this.name = binaryReader.ReadString32(); this.comment = binaryReader.ReadString256(); }
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.ScenarioFunctionFlags = ((Flags)(binaryReader.ReadInt32())); this.Name = binaryReader.ReadString32(); this.Period = binaryReader.ReadSingle(); this.ScalePeriodBy = binaryReader.ReadShortBlockIndex1(); this.Function = ((FunctionEnum)(binaryReader.ReadInt16())); this.ScaleFunctionBy = binaryReader.ReadShortBlockIndex1(); this.WobbleFunction = ((WobbleFunctionEnum)(binaryReader.ReadInt16())); this.WobblePeriod = binaryReader.ReadSingle(); this.WobbleMagnitude = binaryReader.ReadSingle(); this.SquareWaveThreshold = binaryReader.ReadSingle(); this.StepCount = binaryReader.ReadInt16(); this.MapTo = ((MapToEnum)(binaryReader.ReadInt16())); this.SawtoothCount = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.ScaleResultBy = binaryReader.ReadShortBlockIndex1(); this.BoundsMode = ((BoundsModeEnum)(binaryReader.ReadInt16())); this.Bounds = binaryReader.ReadVector2(); this.fieldpad0 = binaryReader.ReadBytes(4); this.fieldpad1 = binaryReader.ReadBytes(2); this.TurnOffWith = binaryReader.ReadShortBlockIndex1(); this.fieldpad2 = binaryReader.ReadBytes(16); this.fieldpad3 = binaryReader.ReadBytes(16); return(pointerQueue); }
internal HsGlobalsBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.type = (Type)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.initializationExpressionIndex = binaryReader.ReadInt32(); }
internal ScenarioCutsceneFlagBlockBase(BinaryReader binaryReader) { this.invalidName_ = binaryReader.ReadBytes(4); this.name = binaryReader.ReadString32(); this.position = binaryReader.ReadVector3(); this.facing = binaryReader.ReadVector2(); }
internal ScenarioFunctionBlockBase(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.name = binaryReader.ReadString32(); this.periodSeconds = binaryReader.ReadSingle(); this.scalePeriodBy = binaryReader.ReadShortBlockIndex1(); this.function = (Function)binaryReader.ReadInt16(); this.scaleFunctionBy = binaryReader.ReadShortBlockIndex1(); this.wobbleFunction = (WobbleFunctionCurveUsedForWobble)binaryReader.ReadInt16(); this.wobblePeriodSeconds = binaryReader.ReadSingle(); this.wobbleMagnitudePercent = binaryReader.ReadSingle(); this.squareWaveThreshold = binaryReader.ReadSingle(); this.stepCount = binaryReader.ReadInt16(); this.mapTo = (MapTo)binaryReader.ReadInt16(); this.sawtoothCount = binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.scaleResultBy = binaryReader.ReadShortBlockIndex1(); this.boundsMode = (BoundsModeControlsHowBoundsBelowAreUsed)binaryReader.ReadInt16(); this.bounds = binaryReader.ReadVector2(); this.invalidName_0 = binaryReader.ReadBytes(4); this.invalidName_1 = binaryReader.ReadBytes(2); this.turnOffWith = binaryReader.ReadShortBlockIndex1(); this.invalidName_2 = binaryReader.ReadBytes(16); this.invalidName_3 = binaryReader.ReadBytes(16); }
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.Name = binaryReader.ReadString32(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(20)); return(pointerQueue); }
internal TriggersBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.triggerFlags = (TriggerFlags)binaryReader.ReadInt32(); this.combinationRule = (CombinationRule)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.conditions = ReadOrderCompletionConditionArray(binaryReader); }
internal BitmapGroupSequenceBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.firstBitmapIndex = binaryReader.ReadInt16(); this.bitmapCount = binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(16); this.sprites = ReadBitmapGroupSpriteBlockArray(binaryReader); }
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.Name = binaryReader.ReadString32(); this.EMPTYSTRING = binaryReader.ReadShortBlockIndex1(); this.EMPTYSTRING0 = binaryReader.ReadShortBlockIndex2(); return(pointerQueue); }
internal CsPointSetBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.points = ReadCsPointBlockArray(binaryReader); this.bspIndex = binaryReader.ReadShortBlockIndex1(); this.manualReferenceFrame = binaryReader.ReadInt16(); this.flags = (Flags)binaryReader.ReadInt32(); }
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.Name = binaryReader.ReadString32(); this.Rotation = binaryReader.ReadQuaternion(); this.Position = binaryReader.ReadVector3(); 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.Name = binaryReader.ReadString32(); this.InitialValue = binaryReader.ReadSingle(); this.DeviceGroupFlags = ((Flags)(binaryReader.ReadInt32())); return(pointerQueue); }
internal StructureBspSoundEnvironmentPaletteBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.soundEnvironment = binaryReader.ReadTagReference(); this.cutoffDistance = binaryReader.ReadSingle(); this.interpolationSpeed1Sec = binaryReader.ReadSingle(); this.invalidName_ = binaryReader.ReadBytes(24); }
internal ScenarioCutsceneCameraPointBlockBase(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt16(); this.type = (Type)binaryReader.ReadInt16(); this.name = binaryReader.ReadString32(); this.position = binaryReader.ReadVector3(); this.orientation = binaryReader.ReadVector3(); this.unused = binaryReader.ReadSingle(); }
internal CsPointBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.position = binaryReader.ReadVector3(); this.referenceFrame = binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.surfaceIndex = binaryReader.ReadInt32(); this.facingDirection = binaryReader.ReadVector2(); }
internal ZoneBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.flags = (Flags)binaryReader.ReadInt32(); this.manualBsp = binaryReader.ReadShortBlockIndex1(); this.invalidName_ = binaryReader.ReadBytes(2); this.firingPositions = ReadFiringPositionsBlockArray(binaryReader); this.areas = ReadAreasBlockArray(binaryReader); }
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.Name = binaryReader.ReadString32(); this.ScriptType = ((ScriptTypeEnum)(binaryReader.ReadInt16())); this.ReturnType = ((ReturnTypeEnum)(binaryReader.ReadInt16())); this.RootExpressionIndex = binaryReader.ReadInt32(); 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.DescriptiveBitmap = binaryReader.ReadTagReference(); this.DisplayedMapName = binaryReader.ReadTagReference(); this.ScenarioTagDirectoryPath = binaryReader.ReadString32(); this.fieldpad = binaryReader.ReadBytes(4); 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.Name = binaryReader.ReadString32(); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.InitializationExpressionIndex = binaryReader.ReadInt32(); 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.Type = ((TypeEnum)(binaryReader.ReadInt32())); this.Name = binaryReader.ReadString32(); this.Comment = 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.Name = binaryReader.ReadString32(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(60)); this.BspIndex = binaryReader.ReadShortBlockIndex1(); this.ManualReferenceFrame = binaryReader.ReadInt16(); this.CsPointSetFlags = ((Flags)(binaryReader.ReadInt32())); 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.Name = binaryReader.ReadString32(); this.TriggersTriggerFlags = ((TriggerFlags)(binaryReader.ReadInt32())); this.CombinationRule = ((CombinationRuleEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(56)); 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.Name = binaryReader.ReadString32(); this.FirstBitmapIndex = binaryReader.ReadInt16(); this.BitmapCount = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(16); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32)); return(pointerQueue); }