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
troopRosterElementFlattenedTroopRosterElementpartyPartyBase
Returns
GenerateSharedXp(CharacterObject, int, MobileParty)
public abstract int GenerateSharedXp(CharacterObject troop, int xp, MobileParty mobileParty)
Parameters
troopCharacterObjectxpintmobilePartyMobileParty
Returns
GetEffectiveDailyExperience(MobileParty, TroopRosterElement)
public abstract ExplainedNumber GetEffectiveDailyExperience(MobileParty party, TroopRosterElement troop)
Parameters
partyMobilePartytroopTroopRosterElement
Returns
GetXpReward(CharacterObject)
public abstract int GetXpReward(CharacterObject character)
Parameters
characterCharacterObject
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).