Class PartyTrainingModel
- Namespace
- TaleWorlds.CampaignSystem.ComponentInterfaces
- Assembly
- TaleWorlds.CampaignSystem.dll
public abstract class PartyTrainingModel : GameModel
- Inheritance
-
PartyTrainingModel
- Derived
- Inherited Members
Constructors
PartyTrainingModel()
protected PartyTrainingModel()
Methods
CalculateXpGainFromBattles(FlattenedTroopRosterElement, PartyBase)
public abstract int CalculateXpGainFromBattles(FlattenedTroopRosterElement troopRosterElement, PartyBase party)
Parameters
troopRosterElement
FlattenedTroopRosterElementparty
PartyBase
Returns
GenerateSharedXp(CharacterObject, int, MobileParty)
public abstract int GenerateSharedXp(CharacterObject troop, int xp, MobileParty mobileParty)
Parameters
troop
CharacterObjectxp
intmobileParty
MobileParty
Returns
GetEffectiveDailyExperience(MobileParty, TroopRosterElement)
public abstract ExplainedNumber GetEffectiveDailyExperience(MobileParty party, TroopRosterElement troop)
Parameters
party
MobilePartytroop
TroopRosterElement
Returns
GetXpReward(CharacterObject)
public abstract int GetXpReward(CharacterObject character)
Parameters
character
CharacterObject
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).