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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultPartyTrainingModel.

Public Member Functions

abstract int GetMaxTrainedTroops (MobileParty mobileParty)
 
abstract int GetHourlyUpgradeXpFromTraining (MobileParty mobileParty)
 
abstract int GenerateSharedXp (CharacterObject troop, int xp, MobileParty mobileParty)
 
abstract int CalculateXpGainFromBattles (FlattenedTroopRosterElement troopRosterElement, PartyBase party)
 
abstract int GetXpReward (CharacterObject character)
 
abstract ExplainedNumber GetEffectiveDailyExperience (MobileParty party, TroopRosterElement troop)
 

Member Function Documentation

◆ GetMaxTrainedTroops()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.GetMaxTrainedTroops ( MobileParty  mobileParty)
pure virtual

◆ GetHourlyUpgradeXpFromTraining()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.GetHourlyUpgradeXpFromTraining ( MobileParty  mobileParty)
pure virtual

◆ GenerateSharedXp()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.GenerateSharedXp ( CharacterObject  troop,
int  xp,
MobileParty  mobileParty 
)
pure virtual

◆ CalculateXpGainFromBattles()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.CalculateXpGainFromBattles ( FlattenedTroopRosterElement  troopRosterElement,
PartyBase  party 
)
pure virtual

◆ GetXpReward()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.GetXpReward ( CharacterObject  character)
pure virtual

◆ GetEffectiveDailyExperience()

abstract ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.PartyTrainingModel.GetEffectiveDailyExperience ( MobileParty  party,
TroopRosterElement  troop 
)
pure virtual