M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
void | SetSpawnWithHorses (bool value) |
void | ClearAddedTroops () |
void | ClearPlan () |
void | AddTroops (FormationClass formationClass, int footTroopCount, int mountedTroopCount) |
void | PlanBattleDeployment (FormationSceneSpawnEntry[,] formationSceneSpawnEntries, float spawnPathOffset=0f) |
FormationDeploymentPlan | GetFormationPlan (FormationClass fClass) |
MatrixFrame | GetFormationDeploymentFrame (FormationClass fClass) |
bool | IsPositionInsideDeploymentBoundaries (in Vec2 position) |
bool | IsPlanSuitableForFormations (ValueTuple< int, int >[] troopDataPerFormationClass) |
Vec2 | GetClosestBoundaryPosition (in Vec2 position) |
void | UpdateSafetyScore () |
WorldFrame | GetFrameFromFormationSpawnEntity (GameEntity formationSpawnEntity, float depthOffset=0f) |
float | GetFormationSpawnWidthAndDepth (FormationClass formationNo, int troopCount, bool hasMountedTroops, bool considerCavalryAsInfantry=false) |
Static Public Member Functions | |
static DeploymentPlan | CreateInitialPlan (Mission mission, BattleSideEnum side) |
static DeploymentPlan | CreateReinforcementPlan (Mission mission, BattleSideEnum side) |
static DeploymentPlan | CreateReinforcementPlanWithSpawnPath (Mission mission, BattleSideEnum side, SpawnPathData spawnPathData) |
Public Attributes | |
readonly BattleSideEnum | Side |
readonly DeploymentPlanType | Type |
readonly SpawnPathData | SpawnPathData |
float | |
Static Public Attributes | |
const float | VerticalFormationGap = 3f |
const float | HorizontalFormationGap = 2f |
const float | DeployZoneMinimumWidth = 100f |
const float | DeployZoneForwardMargin = 10f |
const float | DeployZoneExtraWidthPerTroop = 1.5f |
const float | MaxSafetyScore = 100f |
Properties | |
bool | SpawnWithHorses [get] |
int | PlanCount [get] |
bool | IsPlanMade [get] |
float | SpawnPathOffset [get] |
bool | HasDeploymentBoundaries [get] |
bool | IsSafeToDeploy [get] |
float | SafetyScore [get] |
int | FootTroopCount [get] |
int | MountedTroopCount [get] |
int | TroopCount [get] |
MatrixFrame | DeploymentFrame [get] |
float | DeploymentWidth [get] |
MBReadOnlyDictionary< string, List< Vec2 > > | DeploymentBoundaries [get] |
|
static |
|
static |
|
static |
void TaleWorlds.MountAndBlade.DeploymentPlan.SetSpawnWithHorses | ( | bool | value | ) |
void TaleWorlds.MountAndBlade.DeploymentPlan.ClearAddedTroops | ( | ) |
void TaleWorlds.MountAndBlade.DeploymentPlan.ClearPlan | ( | ) |
void TaleWorlds.MountAndBlade.DeploymentPlan.AddTroops | ( | FormationClass | formationClass, |
int | footTroopCount, | ||
int | mountedTroopCount | ||
) |
void TaleWorlds.MountAndBlade.DeploymentPlan.PlanBattleDeployment | ( | FormationSceneSpawnEntry | formationSceneSpawnEntries[,], |
float | spawnPathOffset = 0f |
||
) |
FormationDeploymentPlan TaleWorlds.MountAndBlade.DeploymentPlan.GetFormationPlan | ( | FormationClass | fClass | ) |
MatrixFrame TaleWorlds.MountAndBlade.DeploymentPlan.GetFormationDeploymentFrame | ( | FormationClass | fClass | ) |
bool TaleWorlds.MountAndBlade.DeploymentPlan.IsPositionInsideDeploymentBoundaries | ( | in Vec2 | position | ) |
bool TaleWorlds.MountAndBlade.DeploymentPlan.IsPlanSuitableForFormations | ( | ValueTuple< int, int >[] | troopDataPerFormationClass | ) |
void TaleWorlds.MountAndBlade.DeploymentPlan.UpdateSafetyScore | ( | ) |
WorldFrame TaleWorlds.MountAndBlade.DeploymentPlan.GetFrameFromFormationSpawnEntity | ( | GameEntity | formationSpawnEntity, |
float | depthOffset = 0f |
||
) |
float TaleWorlds.MountAndBlade.DeploymentPlan.GetFormationSpawnWidthAndDepth | ( | FormationClass | formationNo, |
int | troopCount, | ||
bool | hasMountedTroops, | ||
bool | considerCavalryAsInfantry = false |
||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
readonly BattleSideEnum TaleWorlds.MountAndBlade.DeploymentPlan.Side |
readonly DeploymentPlanType TaleWorlds.MountAndBlade.DeploymentPlan.Type |
readonly SpawnPathData TaleWorlds.MountAndBlade.DeploymentPlan.SpawnPathData |
TaleWorlds.MountAndBlade.DeploymentPlan.float |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |