M&B: Bannerlord 1.2.12
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

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

Properties

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

Member Function Documentation

◆ CalculatePartyInfluenceCost()

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

◆ DailyBeingAtArmyInfluenceAward()

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

◆ GetMobilePartiesToCallToArmy()

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

◆ CalculateTotalInfluenceCost()

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

◆ GetPartySizeScore()

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

◆ CheckPartyEligibility()

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

◆ GetPartyRelation()

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

◆ CalculateDailyCohesionChange()

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

◆ CalculateNewCohesion()

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

◆ GetCohesionBoostInfluenceCost()

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

◆ GetCohesionBoostGoldCost()

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

◆ GetPartyStrength()

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

Property Documentation

◆ InfluenceValuePerGold

int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.InfluenceValuePerGold
getabstract

◆ AverageCallToArmyCost

int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.AverageCallToArmyCost
getabstract

◆ CohesionThresholdForDispersion

int TaleWorlds.CampaignSystem.ComponentInterfaces.ArmyManagementCalculationModel.CohesionThresholdForDispersion
getabstract