Table of Contents

Class SiegeEvent.SiegeEnginesContainer

Namespace
TaleWorlds.CampaignSystem.Siege
Assembly
TaleWorlds.CampaignSystem.dll
public class SiegeEvent.SiegeEnginesContainer
Inheritance
SiegeEvent.SiegeEnginesContainer
Inherited Members

Constructors

SiegeEnginesContainer(BattleSideEnum, SiegeEngineConstructionProgress)

public SiegeEnginesContainer(BattleSideEnum side, SiegeEvent.SiegeEngineConstructionProgress siegePreparations)

Parameters

side BattleSideEnum
siegePreparations SiegeEvent.SiegeEngineConstructionProgress

Fields

DeployedMeleeSiegeEngines

[SaveableField(5)]
public readonly SiegeEvent.SiegeEngineConstructionProgress[] DeployedMeleeSiegeEngines

Field Value

SiegeEngineConstructionProgress[]

DeployedRangedSiegeEngines

[SaveableField(4)]
public readonly SiegeEvent.SiegeEngineConstructionProgress[] DeployedRangedSiegeEngines

Field Value

SiegeEngineConstructionProgress[]

MaximumAttackerMeleeSiegeEngineCount

public const int MaximumAttackerMeleeSiegeEngineCount = 3

Field Value

int

MaximumAttackerRangedSiegeEngineCount

public const int MaximumAttackerRangedSiegeEngineCount = 4

Field Value

int

MaximumDefenderMeleeSiegeEngineCount

public const int MaximumDefenderMeleeSiegeEngineCount = 0

Field Value

int

MaximumDefenderRangedSiegeEngineCount

public const int MaximumDefenderRangedSiegeEngineCount = 4

Field Value

int

SiegePreparations

[SaveableField(1)]
public readonly SiegeEvent.SiegeEngineConstructionProgress SiegePreparations

Field Value

SiegeEvent.SiegeEngineConstructionProgress

Properties

DeployedSiegeEngineTypesCount

public MBReadOnlyDictionary<SiegeEngineType, int> DeployedSiegeEngineTypesCount { get; }

Property Value

MBReadOnlyDictionary<SiegeEngineType, int>

DeployedSiegeEngines

public MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress> DeployedSiegeEngines { get; }

Property Value

MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress>

RemovedSiegeEngines

public MBReadOnlyList<SiegeEvent.SiegeEnginesContainer.RemovedSiegeEngine> RemovedSiegeEngines { get; }

Property Value

MBReadOnlyList<SiegeEvent.SiegeEnginesContainer.RemovedSiegeEngine>

ReservedSiegeEngineTypesCount

public MBReadOnlyDictionary<SiegeEngineType, int> ReservedSiegeEngineTypesCount { get; }

Property Value

MBReadOnlyDictionary<SiegeEngineType, int>

ReservedSiegeEngines

public MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress> ReservedSiegeEngines { get; }

Property Value

MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress>

Methods

AddPrebuiltEngineToReserve(SiegeEngineConstructionProgress)

public void AddPrebuiltEngineToReserve(SiegeEvent.SiegeEngineConstructionProgress siegeEngine)

Parameters

siegeEngine SiegeEvent.SiegeEngineConstructionProgress

AllSiegeEngines()

public IEnumerable<SiegeEvent.SiegeEngineConstructionProgress> AllSiegeEngines()

Returns

IEnumerable<SiegeEvent.SiegeEngineConstructionProgress>

AutoGeneratedInstanceCollectObjects(List<object>)

protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

ClearRemovedEnginesIfNecessary()

public bool ClearRemovedEnginesIfNecessary()

Returns

bool

DeploySiegeEngineAtIndex(SiegeEngineConstructionProgress, int)

public void DeploySiegeEngineAtIndex(SiegeEvent.SiegeEngineConstructionProgress siegeEngine, int index)

Parameters

siegeEngine SiegeEvent.SiegeEngineConstructionProgress
index int

FindDeploymentIndexOfDeployedEngine(SiegeEngineConstructionProgress)

public int FindDeploymentIndexOfDeployedEngine(SiegeEvent.SiegeEngineConstructionProgress deployedEngine)

Parameters

deployedEngine SiegeEvent.SiegeEngineConstructionProgress

Returns

int

RemoveDeployedSiegeEngine(int, bool, bool)

public void RemoveDeployedSiegeEngine(int index, bool isRanged, bool moveToReserve)

Parameters

index int
isRanged bool
moveToReserve bool

RemovedSiegeEngineFromReservedSiegeEngines(SiegeEngineConstructionProgress)

public bool RemovedSiegeEngineFromReservedSiegeEngines(SiegeEvent.SiegeEngineConstructionProgress siegeEngine)

Parameters

siegeEngine SiegeEvent.SiegeEngineConstructionProgress

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).