Interface IHeroDeveloper
- Namespace
- TaleWorlds.CampaignSystem.CharacterDevelopment
- Assembly
- TaleWorlds.CampaignSystem.dll
public interface IHeroDeveloper
Properties
Hero
Hero Hero { get; }
Property Value
TotalXp
int TotalXp { get; }
Property Value
UnspentAttributePoints
int UnspentAttributePoints { get; set; }
Property Value
UnspentFocusPoints
int UnspentFocusPoints { get; set; }
Property Value
Methods
AddAttribute(CharacterAttribute, int, bool)
void AddAttribute(CharacterAttribute attribute, int changeAmount, bool checkUnspentPoints = true)
Parameters
attribute
CharacterAttributechangeAmount
intcheckUnspentPoints
bool
AddFocus(SkillObject, int, bool)
void AddFocus(SkillObject skill, int changeAmount, bool checkUnspentFocusPoints = true)
Parameters
skill
SkillObjectchangeAmount
intcheckUnspentFocusPoints
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
SkillObjectrawXp
floatisAffectedByFocusFactor
boolshouldNotify
bool
AfterLoad()
void AfterLoad()
CanAddFocusToSkill(SkillObject)
bool CanAddFocusToSkill(SkillObject skill)
Parameters
skill
SkillObject
Returns
ChangeSkillLevel(SkillObject, int, bool)
void ChangeSkillLevel(SkillObject skill, int changeAmount, bool shouldNotify = true)
Parameters
skill
SkillObjectchangeAmount
intshouldNotify
bool
ClearHero()
void ClearHero()
ClearUnspentPoints()
void ClearUnspentPoints()
DevelopCharacterStats()
void DevelopCharacterStats()
GetFocus(SkillObject)
int GetFocus(SkillObject skill)
Parameters
skill
SkillObject
Returns
GetFocusFactor(SkillObject)
float GetFocusFactor(SkillObject skill)
Parameters
skill
SkillObject
Returns
GetPerkValue(PerkObject)
bool GetPerkValue(PerkObject perk)
Parameters
perk
PerkObject
Returns
GetRequiredFocusPointsToAddFocus(SkillObject)
int GetRequiredFocusPointsToAddFocus(SkillObject skill)
Parameters
skill
SkillObject
Returns
GetSkillXpProgress(SkillObject)
int GetSkillXpProgress(SkillObject skill)
Parameters
skill
SkillObject
Returns
GetTotalSkillPoints()
int GetTotalSkillPoints()
Returns
GetXpRequiredForLevel(int)
int GetXpRequiredForLevel(int level)
Parameters
level
int
Returns
InitializeHeroDeveloper(bool, CharacterObject)
void InitializeHeroDeveloper(bool isByNaturalGrowth = false, CharacterObject template = null)
Parameters
isByNaturalGrowth
booltemplate
CharacterObject
InitializeSkillXp(SkillObject)
void InitializeSkillXp(SkillObject skill)
Parameters
skill
SkillObject
RemoveAttribute(CharacterAttribute, int)
void RemoveAttribute(CharacterAttribute attrib, int changeAmount)
Parameters
attrib
CharacterAttributechangeAmount
int
RemoveFocus(SkillObject, int)
void RemoveFocus(SkillObject skill, int changeAmount)
Parameters
skill
SkillObjectchangeAmount
int
SetInitialLevel(int)
void SetInitialLevel(int i)
Parameters
i
int
SetInitialSkillLevel(SkillObject, int)
void SetInitialSkillLevel(SkillObject skill, int newSkillValue)
Parameters
skill
SkillObjectnewSkillValue
int
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).