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

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

Member Function Documentation

◆ GenerateSharedXp()

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

◆ CalculateXpGainFromBattles()

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

◆ GetXpReward()

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

◆ GetEffectiveDailyExperience()

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