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

Inherits TaleWorlds.MountAndBlade.TeamAISiegeComponent.

Public Member Functions

 TeamAISallyOutDefender (Mission currentMission, Team currentTeam, float thinkTimerTime, float applyTimerTime)
 
override void OnUnitAddedToFormationForTheFirstTime (Formation formation)
 
Library.Vec3 CalculateSallyOutReferencePosition (FormationAI.BehaviorSide side)
 
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)
 

Public Attributes

readonly Func< WorldPositionDefensePosition
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAISiegeComponent
readonly IEnumerable< WallSegmentWallSegments
 
readonly List< SiegeWeaponSceneSiegeWeapons
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.TeamAIComponent
List< TacticalPositionTacticalPositions
 
List< TacticalRegionTacticalRegions
 

Properties

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

◆ TeamAISallyOutDefender()

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

Member Function Documentation

◆ OnUnitAddedToFormationForTheFirstTime()

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

◆ CalculateSallyOutReferencePosition()

Library.Vec3 TaleWorlds.MountAndBlade.TeamAISallyOutDefender.CalculateSallyOutReferencePosition ( FormationAI.BehaviorSide  side)

◆ OnDeploymentFinished()

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

Member Data Documentation

◆ DefensePosition

readonly Func<WorldPosition> TaleWorlds.MountAndBlade.TeamAISallyOutDefender.DefensePosition

Property Documentation

◆ ArcherPositions

List<ArcherPosition> TaleWorlds.MountAndBlade.TeamAISallyOutDefender.ArcherPositions
get