Table of Contents

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 FlattenedTroopRosterElement
party PartyBase

Returns

int

GenerateSharedXp(CharacterObject, int, MobileParty)

public abstract int GenerateSharedXp(CharacterObject troop, int xp, MobileParty mobileParty)

Parameters

troop CharacterObject
xp int
mobileParty MobileParty

Returns

int

GetEffectiveDailyExperience(MobileParty, TroopRosterElement)

public abstract ExplainedNumber GetEffectiveDailyExperience(MobileParty party, TroopRosterElement troop)

Parameters

party MobileParty
troop TroopRosterElement

Returns

ExplainedNumber

GetXpReward(CharacterObject)

public abstract int GetXpReward(CharacterObject character)

Parameters

character CharacterObject

Returns

int

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).