M&B: Bannerlord 1.2.7
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)
 
abstract int GetMinimumFormationTroopCountToBearBanners ()
 
abstract float GetBannerInteractionDistance (Agent interactingAgent)
 
abstract bool CanBannerBearerProvideEffectToFormation (Agent agent, Formation formation)
 
abstract bool CanAgentPickUpAnyBanner (Agent agent)
 
abstract bool CanAgentBecomeBannerBearer (Agent agent)
 
abstract int GetAgentBannerBearingPriority (Agent agent)
 
abstract bool CanFormationDeployBannerBearers (Formation formation)
 
abstract int GetDesiredNumberOfBannerBearersForFormation (Formation formation)
 
abstract 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 ( )
virtual

◆ GetBannerInteractionDistance()

override float SandBox.SandboxBattleBannerBearersModel.GetBannerInteractionDistance ( Agent  interactingAgent)
virtual

◆ CanBannerBearerProvideEffectToFormation()

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

◆ CanAgentPickUpAnyBanner()

override bool SandBox.SandboxBattleBannerBearersModel.CanAgentPickUpAnyBanner ( Agent  agent)
virtual

◆ CanAgentBecomeBannerBearer()

override bool SandBox.SandboxBattleBannerBearersModel.CanAgentBecomeBannerBearer ( Agent  agent)
virtual

◆ GetAgentBannerBearingPriority()

override int SandBox.SandboxBattleBannerBearersModel.GetAgentBannerBearingPriority ( Agent  agent)
virtual

◆ CanFormationDeployBannerBearers()

override bool SandBox.SandboxBattleBannerBearersModel.CanFormationDeployBannerBearers ( Formation  formation)
virtual

◆ GetDesiredNumberOfBannerBearersForFormation()

override int SandBox.SandboxBattleBannerBearersModel.GetDesiredNumberOfBannerBearersForFormation ( Formation  formation)
virtual

◆ GetBannerBearerReplacementWeapon()

override ItemObject SandBox.SandboxBattleBannerBearersModel.GetBannerBearerReplacementWeapon ( BasicCharacterObject  agentCharacter)
virtual