M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.TeamAISiegeAttacker Class Reference

Inherits TaleWorlds.MountAndBlade.TeamAISiegeComponent.

Public Member Functions

 TeamAISiegeAttacker (Mission currentMission, Team currentTeam, float thinkTimerTime, float applyTimerTime)
 
override void OnUnitAddedToFormationForTheFirstTime (Formation formation)
 
override void OnDeploymentFinished ()
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
bool CalculateIsChargePastWallsApplicable (FormationAI.BehaviorSide side)
 
void SetAreLaddersReady (bool areLaddersReady)
 
bool CalculateIsAnyLaneOpenToGetInside ()
 
bool CalculateIsAnyLaneOpenToGoOutside ()
 
bool IsPrimarySiegeWeaponNavmeshFaceId (int id)
 
IEnumerable< FormationGetAttackerFormationsInsideWalls ()
 
int GetFormationsInsideWallsCount ()
 
bool IsCastleBreached ()
 
virtual void OnDeploymentFinished ()
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.TeamAIComponent
List< StrategicAreaGetStrategicAreas ()
 
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 OnMissionEnded ()
 
void ResetTactic (bool keepCurrentTactic=true)
 
void CheckIsDefenseApplicable ()
 
void OnTacticAppliedForFirstTime ()
 
void TickOccasionally ()
 
bool IsCurrentTactic (TacticComponent tactic)
 
abstract void OnUnitAddedToFormationForTheFirstTime (Formation formation)
 

Properties

MBReadOnlyList< ArcherPositionArcherPositions [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
static List< SiegeLaneSiegeLanes [get]
 
static SiegeQuerySystem QuerySystem [get, protected set]
 
CastleGate OuterGate [get]
 
List< IPrimarySiegeWeaponPrimarySiegeWeapons [get]
 
CastleGate InnerGate [get]
 
MBReadOnlyList< SiegeLadderLadders [get]
 
bool AreLaddersReady [get]
 
List< int > DifficultNavmeshIDs [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.TeamAIComponent
bool HasStrategicAreas [get]
 
bool IsDefenseApplicable [get]
 
bool GetIsFirstTacticChosen = false [get]
 
TacticComponent CurrentTactic [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
static void OnMissionFinalize ()
 
static bool IsFormationGroupInsideCastle (IEnumerable< Formation > formationGroup, bool includeOnlyPositionedUnits, float thresholdPercentage=FormationInsideCastleThresholdPercentage)
 
static bool IsFormationInsideCastle (Formation formation, bool includeOnlyPositionedUnits, float thresholdPercentage=FormationInsideCastleThresholdPercentage)
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
readonly IEnumerable< WallSegmentWallSegments
 
readonly List< SiegeWeaponSceneSiegeWeapons
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAIComponent
List< TacticalPositionTacticalPositions
 
List< TacticalRegionTacticalRegions
 
- Static Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
const int InsideCastleNavMeshID = 1
 
const int SiegeTokenForceSize = 15
 
- Static Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAIComponent
const int BattleTokenForceSize = 10
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
 TeamAISiegeComponent (Mission currentMission, Team currentTeam, float thinkTimerTime, float applyTimerTime)
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.TeamAIComponent
 TeamAIComponent (Mission currentMission, Team currentTeam, float thinkTimerTime, float applyTimerTime)
 
virtual void DebugTick (float dt)
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
readonly IEnumerable< CastleGateCastleGates
 
readonly List< SiegeTowerSiegeTowers
 
readonly HashSet< int > PrimarySiegeWeaponNavMeshFaceIDs
 
BatteringRam Ram
 
List< MissionObjectCastleKeyPositions
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.TeamAIComponent
readonly Mission Mission
 
readonly Team Team
 

Constructor & Destructor Documentation

◆ TeamAISiegeAttacker()

TaleWorlds.MountAndBlade.TeamAISiegeAttacker.TeamAISiegeAttacker ( Mission  currentMission,
Team  currentTeam,
float  thinkTimerTime,
float  applyTimerTime 
)

Member Function Documentation

◆ OnUnitAddedToFormationForTheFirstTime()

override void TaleWorlds.MountAndBlade.TeamAISiegeAttacker.OnUnitAddedToFormationForTheFirstTime ( Formation  formation)
virtual

◆ OnDeploymentFinished()

override void TaleWorlds.MountAndBlade.TeamAISiegeAttacker.OnDeploymentFinished ( )
virtual

Property Documentation

◆ ArcherPositions

MBReadOnlyList<ArcherPosition> TaleWorlds.MountAndBlade.TeamAISiegeAttacker.ArcherPositions
get