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
BattleSideEnumsiegePreparations
SiegeEvent.SiegeEngineConstructionProgress
Fields
DeployedMeleeSiegeEngines
[SaveableField(5)]
public readonly SiegeEvent.SiegeEngineConstructionProgress[] DeployedMeleeSiegeEngines
Field Value
DeployedRangedSiegeEngines
[SaveableField(4)]
public readonly SiegeEvent.SiegeEngineConstructionProgress[] DeployedRangedSiegeEngines
Field Value
MaximumAttackerMeleeSiegeEngineCount
public const int MaximumAttackerMeleeSiegeEngineCount = 3
Field Value
MaximumAttackerRangedSiegeEngineCount
public const int MaximumAttackerRangedSiegeEngineCount = 4
Field Value
MaximumDefenderMeleeSiegeEngineCount
public const int MaximumDefenderMeleeSiegeEngineCount = 0
Field Value
MaximumDefenderRangedSiegeEngineCount
public const int MaximumDefenderRangedSiegeEngineCount = 4
Field Value
SiegePreparations
[SaveableField(1)]
public readonly SiegeEvent.SiegeEngineConstructionProgress SiegePreparations
Field Value
Properties
DeployedSiegeEngineTypesCount
public MBReadOnlyDictionary<SiegeEngineType, int> DeployedSiegeEngineTypesCount { get; }
Property Value
DeployedSiegeEngines
public MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress> DeployedSiegeEngines { get; }
Property Value
RemovedSiegeEngines
public MBReadOnlyList<SiegeEvent.SiegeEnginesContainer.RemovedSiegeEngine> RemovedSiegeEngines { get; }
Property Value
ReservedSiegeEngineTypesCount
public MBReadOnlyDictionary<SiegeEngineType, int> ReservedSiegeEngineTypesCount { get; }
Property Value
ReservedSiegeEngines
public MBReadOnlyList<SiegeEvent.SiegeEngineConstructionProgress> ReservedSiegeEngines { get; }
Property Value
Methods
AddPrebuiltEngineToReserve(SiegeEngineConstructionProgress)
public void AddPrebuiltEngineToReserve(SiegeEvent.SiegeEngineConstructionProgress siegeEngine)
Parameters
siegeEngine
SiegeEvent.SiegeEngineConstructionProgress
AllSiegeEngines()
public IEnumerable<SiegeEvent.SiegeEngineConstructionProgress> AllSiegeEngines()
Returns
AutoGeneratedInstanceCollectObjects(List<object>)
protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
ClearRemovedEnginesIfNecessary()
public bool ClearRemovedEnginesIfNecessary()
Returns
DeploySiegeEngineAtIndex(SiegeEngineConstructionProgress, int)
public void DeploySiegeEngineAtIndex(SiegeEvent.SiegeEngineConstructionProgress siegeEngine, int index)
Parameters
siegeEngine
SiegeEvent.SiegeEngineConstructionProgressindex
int
FindDeploymentIndexOfDeployedEngine(SiegeEngineConstructionProgress)
public int FindDeploymentIndexOfDeployedEngine(SiegeEvent.SiegeEngineConstructionProgress deployedEngine)
Parameters
deployedEngine
SiegeEvent.SiegeEngineConstructionProgress
Returns
RemoveDeployedSiegeEngine(int, bool, bool)
public void RemoveDeployedSiegeEngine(int index, bool isRanged, bool moveToReserve)
Parameters
RemovedSiegeEngineFromReservedSiegeEngines(SiegeEngineConstructionProgress)
public bool RemovedSiegeEngineFromReservedSiegeEngines(SiegeEvent.SiegeEngineConstructionProgress siegeEngine)
Parameters
siegeEngine
SiegeEvent.SiegeEngineConstructionProgress
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).