M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.TeamAIComponent.
Public Member Functions | |
TeamAIGeneral (Mission currentMission, Team currentTeam, float thinkTimerTime=10f, float applyTimerTime=1f) | |
override void | OnUnitAddedToFormationForTheFirstTime (Formation formation) |
![]() | |
delegate void | TacticalDecisionDelegate (in TacticalDecision decision) |
void | AddStrategicArea (StrategicArea strategicArea) |
void | RemoveStrategicArea (StrategicArea strategicArea) |
void | RemoveAllStrategicAreas () |
void | AddTacticOption (TacticComponent tacticOption) |
void | RemoveTacticOption (Type tacticType) |
void | ClearTacticOptions () |
void | AssertTeam (Team team) |
void | NotifyTacticalDecision (in TacticalDecision decision) |
Notifies the registered subscribers about a tactical decision. | |
virtual void | OnDeploymentFinished () |
void | OnMissionEnded () |
void | ResetTactic (bool keepCurrentTactic=true) |
void | CheckIsDefenseApplicable () |
void | OnTacticAppliedForFirstTime () |
void | TickOccasionally () |
bool | IsCurrentTactic (TacticComponent tactic) |
abstract void | OnUnitAddedToFormationForTheFirstTime (Formation formation) |
Protected Member Functions | |
override void | DebugTick (float dt) |
![]() | |
TeamAIComponent (Mission currentMission, Team currentTeam, float thinkTimerTime, float applyTimerTime) | |
virtual void | DebugTick (float dt) |
Additional Inherited Members | |
![]() | |
TacticalDecisionDelegate | OnNotifyTacticalDecision |
List< TacticalPosition > | TacticalPositions |
List< TacticalRegion > | TacticalRegions |
![]() | |
const int | BattleTokenForceSize = 10 |
![]() | |
readonly Mission | Mission |
readonly Team | Team |
![]() | |
MBReadOnlyList< StrategicArea > | StrategicAreas [get] |
bool | HasStrategicAreas [get] |
bool | IsDefenseApplicable [get] |
bool | GetIsFirstTacticChosen = false [get] |
TacticComponent | CurrentTactic [get] |
TaleWorlds.MountAndBlade.TeamAIGeneral.TeamAIGeneral | ( | Mission | currentMission, |
Team | currentTeam, | ||
float | thinkTimerTime = 10f , |
||
float | applyTimerTime = 1f |
||
) |
|
virtual |
Implements TaleWorlds.MountAndBlade.TeamAIComponent.
|
protectedvirtual |
Reimplemented from TaleWorlds.MountAndBlade.TeamAIComponent.