Table of Contents

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

FormationClass

HasDimensions

public bool HasDimensions { get; }

Property Value

bool

HasSignificantMountedTroops

public bool HasSignificantMountedTroops { get; }

Property Value

bool

PlannedDepth

public float PlannedDepth { get; }

Property Value

float

PlannedFootTroopCount

public int PlannedFootTroopCount { get; }

Property Value

int

PlannedMountedTroopCount

public int PlannedMountedTroopCount { get; }

Property Value

int

PlannedTroopCount

public int PlannedTroopCount { get; }

Property Value

int

PlannedWidth

public float PlannedWidth { get; }

Property Value

float

SpawnClass

public FormationClass SpawnClass { get; }

Property Value

FormationClass

Methods

Clear()

public void Clear()

CreateNewDeploymentWorldPosition(WorldPositionEnforcedCache)

public WorldPosition CreateNewDeploymentWorldPosition(WorldPosition.WorldPositionEnforcedCache worldPositionEnforcedCache)

Parameters

worldPositionEnforcedCache WorldPosition.WorldPositionEnforcedCache

Returns

WorldPosition

GetDefaultFlank(bool, int, int)

public FormationDeploymentFlank GetDefaultFlank(bool spawnWithHorses, int formationTroopCount, int infantryCount)

Parameters

spawnWithHorses bool
formationTroopCount int
infantryCount int

Returns

FormationDeploymentFlank

GetDirection()

public Vec2 GetDirection()

Returns

Vec2

GetFlankDeploymentOrder(int)

public FormationDeploymentOrder GetFlankDeploymentOrder(int offset = 0)

Parameters

offset int

Returns

FormationDeploymentOrder

GetGroundFrame()

public MatrixFrame GetGroundFrame()

Returns

MatrixFrame

GetGroundPosition()

public Vec3 GetGroundPosition()

Returns

Vec3

HasFrame()

public bool HasFrame()

Returns

bool

SetFrame(WorldFrame)

public void SetFrame(WorldFrame frame)

Parameters

frame WorldFrame

SetPlannedDimensions(float, float)

public void SetPlannedDimensions(float width, float depth)

Parameters

width float
depth float

SetPlannedTroopCount(int, int)

public void SetPlannedTroopCount(int footTroopCount, int mountedTroopCount)

Parameters

footTroopCount int
mountedTroopCount int

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).