M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.SandboxBattleBannerBearersModel Class Reference

Inherits TaleWorlds.MountAndBlade.ComponentInterfaces.BattleBannerBearersModel.

Public Member Functions

override int GetMinimumFormationTroopCountToBearBanners ()
 
override float GetBannerInteractionDistance (Agent interactingAgent)
 
override bool CanBannerBearerProvideEffectToFormation (Agent agent, Formation formation)
 
override bool CanAgentPickUpAnyBanner (Agent agent)
 
override bool CanAgentBecomeBannerBearer (Agent agent)
 
override int GetAgentBannerBearingPriority (Agent agent)
 
override bool CanFormationDeployBannerBearers (Formation formation)
 
override int GetDesiredNumberOfBannerBearersForFormation (Formation formation)
 
override ItemObject GetBannerBearerReplacementWeapon (BasicCharacterObject agentCharacter)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.ComponentInterfaces.BattleBannerBearersModel
void InitializeModel (BannerBearerLogic bannerBearerLogic)
 
void FinalizeModel ()
 
bool IsFormationBanner (Formation formation, SpawnedItemEntity item)
 
bool IsBannerSearchingAgent (Agent agent)
 
bool IsInteractableFormationBanner (SpawnedItemEntity item, Agent interactingAgent)
 
bool HasFormationBanner (Formation formation)
 
bool HasBannerOnGround (Formation formation)
 
ItemObject GetFormationBanner (Formation formation)
 
List< AgentGetFormationBannerBearers (Formation formation)
 
BannerComponent GetActiveBanner (Formation formation)
 
int GetMinimumFormationTroopCountToBearBanners ()
 
float GetBannerInteractionDistance (Agent interactingAgent)
 
bool CanBannerBearerProvideEffectToFormation (Agent agent, Formation formation)
 
bool CanAgentPickUpAnyBanner (Agent agent)
 
bool CanAgentBecomeBannerBearer (Agent agent)
 
int GetAgentBannerBearingPriority (Agent agent)
 
bool CanFormationDeployBannerBearers (Formation formation)
 
int GetDesiredNumberOfBannerBearersForFormation (Formation formation)
 
ItemObject GetBannerBearerReplacementWeapon (BasicCharacterObject agentCharacter)
 

Additional Inherited Members

- Static Public Attributes inherited from TaleWorlds.MountAndBlade.ComponentInterfaces.BattleBannerBearersModel
const float DefaultDetachmentCostMultiplier = 10f
 
- Properties inherited from TaleWorlds.MountAndBlade.ComponentInterfaces.BattleBannerBearersModel
BannerBearerLogic BannerBearerLogic [get]
 

Member Function Documentation

◆ GetMinimumFormationTroopCountToBearBanners()

override int SandBox.SandboxBattleBannerBearersModel.GetMinimumFormationTroopCountToBearBanners ( )

◆ GetBannerInteractionDistance()

override float SandBox.SandboxBattleBannerBearersModel.GetBannerInteractionDistance ( Agent interactingAgent)

◆ CanBannerBearerProvideEffectToFormation()

override bool SandBox.SandboxBattleBannerBearersModel.CanBannerBearerProvideEffectToFormation ( Agent agent,
Formation formation )

◆ CanAgentPickUpAnyBanner()

override bool SandBox.SandboxBattleBannerBearersModel.CanAgentPickUpAnyBanner ( Agent agent)

◆ CanAgentBecomeBannerBearer()

override bool SandBox.SandboxBattleBannerBearersModel.CanAgentBecomeBannerBearer ( Agent agent)

◆ GetAgentBannerBearingPriority()

override int SandBox.SandboxBattleBannerBearersModel.GetAgentBannerBearingPriority ( Agent agent)

◆ CanFormationDeployBannerBearers()

override bool SandBox.SandboxBattleBannerBearersModel.CanFormationDeployBannerBearers ( Formation formation)

◆ GetDesiredNumberOfBannerBearersForFormation()

override int SandBox.SandboxBattleBannerBearersModel.GetDesiredNumberOfBannerBearersForFormation ( Formation formation)

◆ GetBannerBearerReplacementWeapon()

override ItemObject SandBox.SandboxBattleBannerBearersModel.GetBannerBearerReplacementWeapon ( BasicCharacterObject agentCharacter)