M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultArmyManagementCalculationModel.

Public Member Functions

abstract int CalculatePartyInfluenceCost (MobileParty armyLeaderParty, MobileParty party)
 
abstract float DailyBeingAtArmyInfluenceAward (MobileParty armyMemberParty)
 
abstract List< MobilePartyGetMobilePartiesToCallToArmy (MobileParty leaderParty)
 
abstract int CalculateTotalInfluenceCost (Army army, float percentage)
 
abstract float GetPartySizeScore (MobileParty party)
 
abstract bool CheckPartyEligibility (MobileParty party)
 
abstract int GetPartyRelation (Hero hero)
 
abstract ExplainedNumber CalculateDailyCohesionChange (Army army, bool includeDescriptions=false)
 
abstract int CalculateNewCohesion (Army army, PartyBase newParty, int calculatedCohesion, int sign)
 
abstract int GetCohesionBoostInfluenceCost (Army army, int percentageToBoost=100)
 
abstract int GetCohesionBoostGoldCost (Army army, float percentageToBoost=100.0f)
 
abstract int GetPartyStrength (PartyBase party)
 

Properties

abstract int InfluenceValuePerGold [get]
 
abstract int AverageCallToArmyCost [get]
 
abstract int CohesionThresholdForDispersion [get]
 

Member Function Documentation

◆ CalculatePartyInfluenceCost()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CalculatePartyInfluenceCost ( MobileParty  armyLeaderParty,
MobileParty  party 
)
pure virtual

◆ DailyBeingAtArmyInfluenceAward()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.DailyBeingAtArmyInfluenceAward ( MobileParty  armyMemberParty)
pure virtual

◆ GetMobilePartiesToCallToArmy()

abstract List< MobileParty > TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetMobilePartiesToCallToArmy ( MobileParty  leaderParty)
pure virtual

◆ CalculateTotalInfluenceCost()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CalculateTotalInfluenceCost ( Army  army,
float  percentage 
)
pure virtual

◆ GetPartySizeScore()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetPartySizeScore ( MobileParty  party)
pure virtual

◆ CheckPartyEligibility()

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CheckPartyEligibility ( MobileParty  party)
pure virtual

◆ GetPartyRelation()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetPartyRelation ( Hero  hero)
pure virtual

◆ CalculateDailyCohesionChange()

abstract ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CalculateDailyCohesionChange ( Army  army,
bool  includeDescriptions = false 
)
pure virtual

◆ CalculateNewCohesion()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CalculateNewCohesion ( Army  army,
PartyBase  newParty,
int  calculatedCohesion,
int  sign 
)
pure virtual

◆ GetCohesionBoostInfluenceCost()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetCohesionBoostInfluenceCost ( Army  army,
int  percentageToBoost = 100 
)
pure virtual

◆ GetCohesionBoostGoldCost()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetCohesionBoostGoldCost ( Army  army,
float  percentageToBoost = 100.0f 
)
pure virtual

◆ GetPartyStrength()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.GetPartyStrength ( PartyBase  party)
pure virtual

Property Documentation

◆ InfluenceValuePerGold

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.InfluenceValuePerGold
get

◆ AverageCallToArmyCost

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.AverageCallToArmyCost
get

◆ CohesionThresholdForDispersion

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CohesionThresholdForDispersion
get