Class FormationDeploymentPlan
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class FormationDeploymentPlan : IFormationDeploymentPlan
- Inheritance
-
FormationDeploymentPlan
- Implements
- Inherited Members
Constructors
FormationDeploymentPlan(FormationClass)
public FormationDeploymentPlan(FormationClass fClass)
Parameters
fClass
FormationClass
Properties
Class
public FormationClass Class { get; }
Property Value
HasDimensions
public bool HasDimensions { get; }
Property Value
HasSignificantMountedTroops
public bool HasSignificantMountedTroops { get; }
Property Value
PlannedDepth
public float PlannedDepth { get; }
Property Value
PlannedFootTroopCount
public int PlannedFootTroopCount { get; }
Property Value
PlannedMountedTroopCount
public int PlannedMountedTroopCount { get; }
Property Value
PlannedTroopCount
public int PlannedTroopCount { get; }
Property Value
PlannedWidth
public float PlannedWidth { get; }
Property Value
SpawnClass
public FormationClass SpawnClass { get; }
Property Value
Methods
Clear()
public void Clear()
CreateNewDeploymentWorldPosition(WorldPositionEnforcedCache)
public WorldPosition CreateNewDeploymentWorldPosition(WorldPosition.WorldPositionEnforcedCache worldPositionEnforcedCache)
Parameters
worldPositionEnforcedCache
WorldPosition.WorldPositionEnforcedCache
Returns
GetDefaultFlank(bool, int, int)
public FormationDeploymentFlank GetDefaultFlank(bool spawnWithHorses, int formationTroopCount, int infantryCount)
Parameters
Returns
GetDirection()
public Vec2 GetDirection()
Returns
GetFlankDeploymentOrder(int)
public FormationDeploymentOrder GetFlankDeploymentOrder(int offset = 0)
Parameters
offset
int
Returns
GetGroundFrame()
public MatrixFrame GetGroundFrame()
Returns
GetGroundPosition()
public Vec3 GetGroundPosition()
Returns
HasFrame()
public bool HasFrame()
Returns
SetFrame(WorldFrame)
public void SetFrame(WorldFrame frame)
Parameters
frame
WorldFrame
SetPlannedDimensions(float, float)
public void SetPlannedDimensions(float width, float depth)
Parameters
SetPlannedTroopCount(int, int)
public void SetPlannedTroopCount(int footTroopCount, int mountedTroopCount)
Parameters
SetSpawnClass(FormationClass)
public void SetSpawnClass(FormationClass spawnClass)
Parameters
spawnClass
FormationClass
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).