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); }
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.Translation = binaryReader.ReadVector3(); this.PaletteIndex = binaryReader.ReadShortBlockIndex1(); this.fieldpad = binaryReader.ReadBytes(2); this.UniqueID = binaryReader.ReadInt32(); this.ExportedObjectType = binaryReader.ReadTagClass(); this.ScenarioObjectName = binaryReader.ReadString32(); 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.Build = binaryReader.ReadInt32(); this.Version = binaryReader.ReadString256(); this.ImportDate = binaryReader.ReadString32(); this.Culprit = binaryReader.ReadString32(); this.fieldpad = binaryReader.ReadBytes(96); this.ImportTime = binaryReader.ReadString32(); this.fieldpad0 = binaryReader.ReadBytes(4); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(528)); this.fieldpad1 = binaryReader.ReadBytes(128); 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.WeatherSystem = binaryReader.ReadTagReference(); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(32); this.Wind = binaryReader.ReadTagReference(); this.WindDirection = binaryReader.ReadVector3(); this.WindMagnitude = binaryReader.ReadSingle(); this.fieldpad2 = binaryReader.ReadBytes(4); this.WindScaleFunction = binaryReader.ReadString32(); 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.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.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); }
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.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); }
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); }
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); }
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); }
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.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.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.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.Name = binaryReader.ReadString32(); this.FirstBitmapIndex = binaryReader.ReadInt16(); this.BitmapCount = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(16); 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(); 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.SoundEnvironment = binaryReader.ReadTagReference(); this.CutoffDistance = binaryReader.ReadSingle(); this.InterpolationSpeed = binaryReader.ReadSingle(); this.fieldpad = binaryReader.ReadBytes(24); 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.ScenarioCutsceneCameraPointFlags = ((Flags)(binaryReader.ReadInt16())); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.Name = binaryReader.ReadString32(); this.Position = binaryReader.ReadVector3(); this.Orientation = binaryReader.ReadVector3(); this.Unused = binaryReader.ReadSingle(); 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.StartIndexIntoTextBlob = binaryReader.ReadInt16(); this.StartIndexOfMessageBlock = binaryReader.ReadInt16(); this.PanelCount = binaryReader.ReadByte(); this.fieldpad = binaryReader.ReadBytes(3); this.fieldpad0 = binaryReader.ReadBytes(24); 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.ZoneFlags = ((Flags)(binaryReader.ReadInt32())); this.ManualBsp = binaryReader.ReadShortBlockIndex1(); this.fieldpad = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(136)); 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.Style = binaryReader.ReadShortBlockIndex1(); this.fieldpad = binaryReader.ReadBytes(2); this.OrdersFlags = ((Flags)(binaryReader.ReadInt32())); this.ForceCombatStatus = ((ForceCombatStatusEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.EntryScript = binaryReader.ReadString32(); this.fieldskip = binaryReader.ReadBytes(2); this.FollowSquad = binaryReader.ReadShortBlockIndex1(); this.FollowRadius = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(20)); 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.Position = binaryReader.ReadVector3(); this.ReferenceFrame = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.SurfaceIndex = binaryReader.ReadInt32(); this.FacingDirection = binaryReader.ReadVector2(); 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.AreasAreaFlags = ((AreaFlags)(binaryReader.ReadInt32())); this.fieldskip = binaryReader.ReadBytes(20); this.fieldskip0 = binaryReader.ReadBytes(4); this.fieldpad = binaryReader.ReadBytes(64); this.ManualReferenceFrame = binaryReader.ReadInt16(); this.fieldpad0 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(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.fieldpad = binaryReader.ReadBytes(8); this.UseThisObject = binaryReader.ReadShortBlockIndex1(); this.SetNewName = binaryReader.ReadShortBlockIndex1(); this.fieldpad0 = binaryReader.ReadBytes(12); this.fieldpad1 = binaryReader.ReadBytes(12); this.EncounterName = binaryReader.ReadString32(); this.fieldpad2 = binaryReader.ReadBytes(4); this.fieldpad3 = binaryReader.ReadBytes(12); 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.Path = binaryReader.ReadString256(); this.ModificationDate = binaryReader.ReadString32(); this.fieldskip = binaryReader.ReadBytes(8); this.fieldpad = binaryReader.ReadBytes(88); this.Checksum = binaryReader.ReadInt32(); this.Size = binaryReader.ReadInt32(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1)); this.fieldpad0 = binaryReader.ReadBytes(128); 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.Version = binaryReader.ReadByte(); this.RawAnimationData = binaryReader.ReadByte(); this.UnitControlDataVersion = binaryReader.ReadByte(); this.fieldpad = binaryReader.ReadBytes(1); this.LengthOfAnimation = binaryReader.ReadInt16(); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(4); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1)); 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.AiConversationFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.TriggerDistance = binaryReader.ReadSingle(); this.RuntoplayerDist = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(36); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(84)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(76)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); return(pointerQueue); }
public GlobalTagImportInfoBlock(BinaryReader binaryReader) { this.build = binaryReader.ReadInt32(); this.version = binaryReader.ReadString256(); this.importDate = binaryReader.ReadString32(); this.culprit = binaryReader.ReadString32(); this.padding = binaryReader.ReadBytes(96); this.importTime = binaryReader.ReadString32(); this.padding0 = binaryReader.ReadBytes(4); this.files = ReadFiles(binaryReader); this.padding1 = binaryReader.ReadBytes(128); }
public EditorCommentBlock(BinaryReader binaryReader) { this.position = binaryReader.ReadVector3(); this.type = (Type)binaryReader.ReadInt32(); this.name = binaryReader.ReadString32(); this.comment = binaryReader.ReadString256(); }
public DeviceGroupBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.initialValue01 = binaryReader.ReadSingle(); this.flags = (Flags)binaryReader.ReadInt32(); }
public RecordedAnimationBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.version = binaryReader.ReadByte(); this.rawAnimationData = binaryReader.ReadByte(); this.unitControlDataVersion = binaryReader.ReadByte(); this.padding = binaryReader.ReadByte(); this.lengthOfAnimationTicks = binaryReader.ReadInt16(); this.padding0 = binaryReader.ReadBytes(2); this.padding1 = binaryReader.ReadBytes(4); this.paddingrecordedAnimationEventStream = binaryReader.ReadBytes(8); }
public SquadGroupsBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.parent = binaryReader.ReadShortBlockIndex1(); this.initialOrders = binaryReader.ReadShortBlockIndex1(); }
public StructureBspSoundEnvironmentPaletteBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.soundEnvironment = binaryReader.ReadTagReference(); this.cutoffDistance = binaryReader.ReadSingle(); this.interpolationSpeed1Sec = binaryReader.ReadSingle(); this.padding = binaryReader.ReadBytes(24); }
public TriggersBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.triggerFlags = (TriggerFlags)binaryReader.ReadInt32(); this.combinationRule = (CombinationRule)binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(OrderCompletionCondition)); this.conditions = new OrderCompletionCondition[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.conditions[i] = new OrderCompletionCondition(binaryReader); } } } }
public AiConversationBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.flags = (Flags)binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.triggerDistanceWorldUnitsDistanceThePlayerMustEnterBeforeTheConversationCanTrigger = binaryReader.ReadSingle(); this.runToPlayerDistWorldUnitsIfTheInvolvesPlayerFlagIsSetWhenTriggeredTheConversationsParticipantSWillRunToWithinThisDistanceOfThePlayer = binaryReader.ReadSingle(); this.padding0 = binaryReader.ReadBytes(36); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(AiConversationParticipantBlock)); this.participants = new AiConversationParticipantBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.participants[i] = new AiConversationParticipantBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(AiConversationLineBlock)); this.lines = new AiConversationLineBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.lines[i] = new AiConversationLineBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(GNullBlock)); this.gNullBlock = new GNullBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.gNullBlock[i] = new GNullBlock(binaryReader); } } } }
public AiConversationParticipantBlock(BinaryReader binaryReader) { this.padding = binaryReader.ReadBytes(8); this.useThisObjectIfAUnitWithThisNameExistsWeTryToPickThemToStartTheConversation = binaryReader.ReadShortBlockIndex1(); this.setNewNameOnceWePickAUnitWeNameItThis = binaryReader.ReadShortBlockIndex1(); this.padding0 = binaryReader.ReadBytes(12); this.padding1 = binaryReader.ReadBytes(12); this.encounterName = binaryReader.ReadString32(); this.padding2 = binaryReader.ReadBytes(4); this.padding3 = binaryReader.ReadBytes(12); }
public AiRecordingReferenceBlock(BinaryReader binaryReader) { this.recordingName = binaryReader.ReadString32(); this.padding = binaryReader.ReadBytes(8); }
public AiScriptReferenceBlock(BinaryReader binaryReader) { this.scriptName = binaryReader.ReadString32(); this.padding = binaryReader.ReadBytes(8); }
public AiAnimationReferenceBlock(BinaryReader binaryReader) { this.animationName = binaryReader.ReadString32(); this.animationGraphLeaveThisBlankToUseTheUnitsNormalAnimationGraph = binaryReader.ReadTagReference(); this.padding = binaryReader.ReadBytes(12); }
public ZoneBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.flags = (Flags)binaryReader.ReadInt32(); this.manualBsp = binaryReader.ReadShortBlockIndex1(); this.padding = binaryReader.ReadBytes(2); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(FiringPositionsBlock)); this.firingPositions = new FiringPositionsBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.firingPositions[i] = new FiringPositionsBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(AreasBlock)); this.areas = new AreasBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.areas[i] = new AreasBlock(binaryReader); } } } }
public ActorStartingLocationsBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadStringID(); this.position = binaryReader.ReadVector3(); this.referenceFrame = binaryReader.ReadInt16(); this.padding = 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.padding0 = binaryReader.ReadBytes(2); this.vehicleType = binaryReader.ReadShortBlockIndex1(); this.seatType = (SeatType)binaryReader.ReadInt16(); this.grenadeType = (GrenadeType)binaryReader.ReadInt16(); this.swarmCountNumberOfCreturesInSwarmIfASwarmIsSpawnedAtThisLocation = binaryReader.ReadInt16(); this.actorVariantName = binaryReader.ReadStringID(); this.vehicleVariantName = binaryReader.ReadStringID(); this.initialMovementDistanceBeforeDoingAnythingElseTheActorWillTravelTheGivenDistanceInItsForwardDirection = binaryReader.ReadSingle(); this.emitterVehicle = binaryReader.ReadShortBlockIndex1(); this.initialMovementMode = (InitialMovementMode)binaryReader.ReadInt16(); this.placementScript = binaryReader.ReadString32(); this.skip1 = binaryReader.ReadBytes(2); this.padding2 = binaryReader.ReadBytes(2); }
public OrderCompletionCondition(BinaryReader binaryReader) { this.ruleType = (RuleType)binaryReader.ReadInt16(); this.squad = binaryReader.ReadShortBlockIndex1(); this.squadGroup = binaryReader.ReadShortBlockIndex1(); this.a = binaryReader.ReadInt16(); this.x = binaryReader.ReadSingle(); this.triggerVolume = binaryReader.ReadShortBlockIndex1(); this.padding = binaryReader.ReadBytes(2); this.exitConditionScript = binaryReader.ReadString32(); this.invalidName_0 = binaryReader.ReadInt16(); this.padding1 = binaryReader.ReadBytes(2); this.flags = (Flags)binaryReader.ReadInt32(); }
public HsScriptsBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.scriptType = (ScriptType)binaryReader.ReadInt16(); this.returnType = (ReturnType)binaryReader.ReadInt16(); this.rootExpressionIndex = binaryReader.ReadInt32(); }
public StructureBspBackgroundSoundPaletteBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.backgroundSound = binaryReader.ReadTagReference(); this.insideClusterSoundPlayOnlyWhenPlayerIsInsideCluster = binaryReader.ReadTagReference(); this.padding = binaryReader.ReadBytes(20); this.cutoffDistance = binaryReader.ReadSingle(); this.scaleFlags = (ScaleFlags)binaryReader.ReadInt32(); this.interiorScale = binaryReader.ReadSingle(); this.portalScale = binaryReader.ReadSingle(); this.exteriorScale = binaryReader.ReadSingle(); this.interpolationSpeed1Sec = binaryReader.ReadSingle(); this.padding0 = binaryReader.ReadBytes(8); }
public HsGlobalsBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.type = (Type)binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.initializationExpressionIndex = binaryReader.ReadInt32(); }
public StructureBspWeatherPaletteBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.weatherSystem = binaryReader.ReadTagReference(); this.padding = binaryReader.ReadBytes(2); this.padding0 = binaryReader.ReadBytes(2); this.padding1 = binaryReader.ReadBytes(32); this.wind = binaryReader.ReadTagReference(); this.windDirection = binaryReader.ReadVector3(); this.windMagnitude = binaryReader.ReadSingle(); this.padding2 = binaryReader.ReadBytes(4); this.windScaleFunction = binaryReader.ReadString32(); }
public HsSourceFilesBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.paddingsource = binaryReader.ReadBytes(8); }
public CsPointBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.position = binaryReader.ReadVector3(); this.referenceFrame = binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.surfaceIndex = binaryReader.ReadInt32(); this.facingDirection = binaryReader.ReadVector2(); }
public CsPointSetBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(CsPointBlock)); this.points = new CsPointBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.points[i] = new CsPointBlock(binaryReader); } } } this.bspIndex = binaryReader.ReadShortBlockIndex1(); this.manualReferenceFrame = binaryReader.ReadInt16(); this.flags = (Flags)binaryReader.ReadInt32(); }
public ScenarioProfilesBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.startingHealthDamage01 = binaryReader.ReadSingle(); this.startingShieldDamage01 = binaryReader.ReadSingle(); this.primaryWeapon = binaryReader.ReadTagReference(); this.roundsLoaded = binaryReader.ReadInt16(); this.roundsTotal = binaryReader.ReadInt16(); this.secondaryWeapon = binaryReader.ReadTagReference(); this.roundsLoaded0 = binaryReader.ReadInt16(); this.roundsTotal0 = binaryReader.ReadInt16(); this.startingFragmentationGrenadeCount = binaryReader.ReadByte(); this.startingPlasmaGrenadeCount = binaryReader.ReadByte(); this.startingUnknownGrenadeCount = binaryReader.ReadByte(); this.startingUnknownGrenadeCount0 = binaryReader.ReadByte(); }
public ScenarioCutsceneFlagBlock(BinaryReader binaryReader) { this.padding = binaryReader.ReadBytes(4); this.name = binaryReader.ReadString32(); this.position = binaryReader.ReadVector3(); this.facing = binaryReader.ReadVector2(); }
public ScenarioObjectNamesBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.eMPTYSTRING = binaryReader.ReadShortBlockIndex1(); this.eMPTYSTRING0 = binaryReader.ReadShortBlockIndex2(); }
public ScenarioCutsceneCameraPointBlock(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(); }
public ScenarioFunctionBlock(BinaryReader binaryReader) { this.flags = (Flags)binaryReader.ReadInt32(); this.name = binaryReader.ReadString32(); this.periodSecondsPeriodForAboveFunctionLowerValuesMakeFunctionOscillateQuicklyHigherValuesMakeItOscillateSlowly = binaryReader.ReadSingle(); this.scalePeriodByMultiplyThisFunctionByAbovePeriod = binaryReader.ReadShortBlockIndex1(); this.function = (Function)binaryReader.ReadInt16(); this.scaleFunctionByMultiplyThisFunctionByResultOfAboveFunction = binaryReader.ReadShortBlockIndex1(); this.wobbleFunctionCurveUsedForWobble = (WobbleFunctionCurveUsedForWobble)binaryReader.ReadInt16(); this.wobblePeriodSecondsTimeItTakesForMagnitudeOfThisFunctionToCompleteAWobble = binaryReader.ReadSingle(); this.wobbleMagnitudePercentAmountOfRandomWobbleInTheMagnitude = binaryReader.ReadSingle(); this.squareWaveThresholdIfNonZeroAllValuesAboveSquareWaveThresholdAreSnappedTo10AndAllValuesBelowItAreSnappedTo00ToCreateASquareWave = binaryReader.ReadSingle(); this.stepCountNumberOfDiscreteValuesToSnapToEGStepCountOf5SnapsFunctionTo000025050075Or100 = binaryReader.ReadInt16(); this.mapTo = (MapTo)binaryReader.ReadInt16(); this.sawtoothCountNumberOfTimesThisFunctionShouldRepeatEGSawtoothCountOf5GivesFunctionValueOf10AtEachOf025050And075AsWellAsAt10 = binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.scaleResultByMultiplyThisFunctionEGFromAWeaponVehicleFinalResultOfAllOfTheAboveMath = binaryReader.ReadShortBlockIndex1(); this.boundsModeControlsHowBoundsBelowAreUsed = (BoundsModeControlsHowBoundsBelowAreUsed)binaryReader.ReadInt16(); this.bounds = binaryReader.ReadSingle(); this.padding0 = binaryReader.ReadBytes(4); this.padding1 = binaryReader.ReadBytes(2); this.turnOffWithIfSpecifiedFunctionIsOffSoIsThisFunction = binaryReader.ReadShortBlockIndex1(); this.padding2 = binaryReader.ReadBytes(16); this.padding3 = binaryReader.ReadBytes(16); }
public OrdersBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.style = binaryReader.ReadShortBlockIndex1(); this.padding = binaryReader.ReadBytes(2); this.flags = (Flags)binaryReader.ReadInt32(); this.forceCombatStatus = (ForceCombatStatus)binaryReader.ReadInt16(); this.padding0 = binaryReader.ReadBytes(2); this.entryScript = binaryReader.ReadString32(); this.skip1 = binaryReader.ReadBytes(2); this.followSquad = binaryReader.ReadShortBlockIndex1(); this.followRadius = binaryReader.ReadSingle(); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(ZoneSetBlock)); this.primaryAreaSet = new ZoneSetBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.primaryAreaSet[i] = new ZoneSetBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(SecondaryZoneSetBlock)); this.secondaryAreaSet = new SecondaryZoneSetBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.secondaryAreaSet[i] = new SecondaryZoneSetBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(SecondarySetTriggerBlock)); this.secondarySetTrigger = new SecondarySetTriggerBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.secondarySetTrigger[i] = new SecondarySetTriggerBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(SpecialMovementBlock)); this.specialMovement = new SpecialMovementBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.specialMovement[i] = new SpecialMovementBlock(binaryReader); } } } { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(OrderEndingBlock)); this.orderEndings = new OrderEndingBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.orderEndings[i] = new OrderEndingBlock(binaryReader); } } } }
public AreasBlock(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.areaFlags = (AreaFlags)binaryReader.ReadInt32(); this.skip = binaryReader.ReadBytes(20); this.skip0 = binaryReader.ReadBytes(4); this.padding1 = binaryReader.ReadBytes(64); this.manualReferenceFrame = binaryReader.ReadInt16(); this.padding2 = binaryReader.ReadBytes(2); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(FlightReferenceBlock)); this.flightHints = new FlightReferenceBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.flightHints[i] = new FlightReferenceBlock(binaryReader); } } } }
public SquadsBlock(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.normalDiffCountInitialNumberOfActorsOnNormalDifficulty = binaryReader.ReadInt16(); this.insaneDiffCountInitialNumberOfActorsOnInsaneDifficultyHardDifficultyIsMidwayBetweenNormalAndInsane = binaryReader.ReadInt16(); this.majorUpgrade = (MajorUpgrade)binaryReader.ReadInt16(); this.padding = binaryReader.ReadBytes(2); this.vehicleType = binaryReader.ReadShortBlockIndex1(); this.characterType = binaryReader.ReadShortBlockIndex1(); this.initialZone = binaryReader.ReadShortBlockIndex1(); this.padding0 = binaryReader.ReadBytes(2); this.initialWeapon = binaryReader.ReadShortBlockIndex1(); this.initialSecondaryWeapon = binaryReader.ReadShortBlockIndex1(); this.grenadeType = (GrenadeType)binaryReader.ReadInt16(); this.initialOrder = binaryReader.ReadShortBlockIndex1(); this.vehicleVariant = binaryReader.ReadStringID(); { var count = binaryReader.ReadInt32(); var address = binaryReader.ReadInt32(); var elementSize = Marshal.SizeOf(typeof(ActorStartingLocationsBlock)); this.startingLocations = new ActorStartingLocationsBlock[count]; using (binaryReader.BaseStream.Pin()) { for (int i = 0; i < count; ++i) { binaryReader.BaseStream.Position = address + i * elementSize; this.startingLocations[i] = new ActorStartingLocationsBlock(binaryReader); } } } this.placementScript = binaryReader.ReadString32(); this.skip1 = binaryReader.ReadBytes(2); this.padding2 = binaryReader.ReadBytes(2); }