Table of Contents

Interface IHeroDeveloper

Namespace
TaleWorlds.CampaignSystem.CharacterDevelopment
Assembly
TaleWorlds.CampaignSystem.dll
public interface IHeroDeveloper

Properties

Hero

Hero Hero { get; }

Property Value

Hero

TotalXp

int TotalXp { get; }

Property Value

int

UnspentAttributePoints

int UnspentAttributePoints { get; set; }

Property Value

int

UnspentFocusPoints

int UnspentFocusPoints { get; set; }

Property Value

int

Methods

AddAttribute(CharacterAttribute, int, bool)

void AddAttribute(CharacterAttribute attribute, int changeAmount, bool checkUnspentPoints = true)

Parameters

attribute CharacterAttribute
changeAmount int
checkUnspentPoints bool

AddFocus(SkillObject, int, bool)

void AddFocus(SkillObject skill, int changeAmount, bool checkUnspentFocusPoints = true)

Parameters

skill SkillObject
changeAmount int
checkUnspentFocusPoints bool

AddPerk(PerkObject)

void AddPerk(PerkObject perk)

Parameters

perk PerkObject

AddSkillXp(SkillObject, float, bool, bool)

void AddSkillXp(SkillObject skill, float rawXp, bool isAffectedByFocusFactor = true, bool shouldNotify = true)

Parameters

skill SkillObject
rawXp float
isAffectedByFocusFactor bool
shouldNotify bool

AfterLoad()

void AfterLoad()

CanAddFocusToSkill(SkillObject)

bool CanAddFocusToSkill(SkillObject skill)

Parameters

skill SkillObject

Returns

bool

ChangeSkillLevel(SkillObject, int, bool)

void ChangeSkillLevel(SkillObject skill, int changeAmount, bool shouldNotify = true)

Parameters

skill SkillObject
changeAmount int
shouldNotify bool

ClearHero()

void ClearHero()

ClearUnspentPoints()

void ClearUnspentPoints()

DevelopCharacterStats()

void DevelopCharacterStats()

GetFocus(SkillObject)

int GetFocus(SkillObject skill)

Parameters

skill SkillObject

Returns

int

GetFocusFactor(SkillObject)

float GetFocusFactor(SkillObject skill)

Parameters

skill SkillObject

Returns

float

GetPerkValue(PerkObject)

bool GetPerkValue(PerkObject perk)

Parameters

perk PerkObject

Returns

bool

GetRequiredFocusPointsToAddFocus(SkillObject)

int GetRequiredFocusPointsToAddFocus(SkillObject skill)

Parameters

skill SkillObject

Returns

int

GetSkillXpProgress(SkillObject)

int GetSkillXpProgress(SkillObject skill)

Parameters

skill SkillObject

Returns

int

GetTotalSkillPoints()

int GetTotalSkillPoints()

Returns

int

GetXpRequiredForLevel(int)

int GetXpRequiredForLevel(int level)

Parameters

level int

Returns

int

InitializeHeroDeveloper(bool, CharacterObject)

void InitializeHeroDeveloper(bool isByNaturalGrowth = false, CharacterObject template = null)

Parameters

isByNaturalGrowth bool
template CharacterObject

InitializeSkillXp(SkillObject)

void InitializeSkillXp(SkillObject skill)

Parameters

skill SkillObject

RemoveAttribute(CharacterAttribute, int)

void RemoveAttribute(CharacterAttribute attrib, int changeAmount)

Parameters

attrib CharacterAttribute
changeAmount int

RemoveFocus(SkillObject, int)

void RemoveFocus(SkillObject skill, int changeAmount)

Parameters

skill SkillObject
changeAmount int

SetInitialLevel(int)

void SetInitialLevel(int i)

Parameters

i int

SetInitialSkillLevel(SkillObject, int)

void SetInitialSkillLevel(SkillObject skill, int newSkillValue)

Parameters

skill SkillObject
newSkillValue int

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