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
attributeCharacterAttributechangeAmountintcheckUnspentPointsbool
AddFocus(SkillObject, int, bool)
void AddFocus(SkillObject skill, int changeAmount, bool checkUnspentFocusPoints = true)
Parameters
skillSkillObjectchangeAmountintcheckUnspentFocusPointsbool
AddPerk(PerkObject)
void AddPerk(PerkObject perk)
Parameters
perkPerkObject
AddSkillXp(SkillObject, float, bool, bool)
void AddSkillXp(SkillObject skill, float rawXp, bool isAffectedByFocusFactor = true, bool shouldNotify = true)
Parameters
skillSkillObjectrawXpfloatisAffectedByFocusFactorboolshouldNotifybool
AfterLoad()
void AfterLoad()
CanAddFocusToSkill(SkillObject)
bool CanAddFocusToSkill(SkillObject skill)
Parameters
skillSkillObject
Returns
ChangeSkillLevel(SkillObject, int, bool)
void ChangeSkillLevel(SkillObject skill, int changeAmount, bool shouldNotify = true)
Parameters
skillSkillObjectchangeAmountintshouldNotifybool
ClearHero()
void ClearHero()
ClearUnspentPoints()
void ClearUnspentPoints()
DevelopCharacterStats()
void DevelopCharacterStats()
GetFocus(SkillObject)
int GetFocus(SkillObject skill)
Parameters
skillSkillObject
Returns
GetFocusFactor(SkillObject)
float GetFocusFactor(SkillObject skill)
Parameters
skillSkillObject
Returns
GetPerkValue(PerkObject)
bool GetPerkValue(PerkObject perk)
Parameters
perkPerkObject
Returns
GetRequiredFocusPointsToAddFocus(SkillObject)
int GetRequiredFocusPointsToAddFocus(SkillObject skill)
Parameters
skillSkillObject
Returns
GetSkillXpProgress(SkillObject)
int GetSkillXpProgress(SkillObject skill)
Parameters
skillSkillObject
Returns
GetTotalSkillPoints()
int GetTotalSkillPoints()
Returns
GetXpRequiredForLevel(int)
int GetXpRequiredForLevel(int level)
Parameters
levelint
Returns
InitializeHeroDeveloper(bool, CharacterObject)
void InitializeHeroDeveloper(bool isByNaturalGrowth = false, CharacterObject template = null)
Parameters
isByNaturalGrowthbooltemplateCharacterObject
InitializeSkillXp(SkillObject)
void InitializeSkillXp(SkillObject skill)
Parameters
skillSkillObject
RemoveAttribute(CharacterAttribute, int)
void RemoveAttribute(CharacterAttribute attrib, int changeAmount)
Parameters
attribCharacterAttributechangeAmountint
RemoveFocus(SkillObject, int)
void RemoveFocus(SkillObject skill, int changeAmount)
Parameters
skillSkillObjectchangeAmountint
SetInitialLevel(int)
void SetInitialLevel(int i)
Parameters
iint
SetInitialSkillLevel(SkillObject, int)
void SetInitialSkillLevel(SkillObject skill, int newSkillValue)
Parameters
skillSkillObjectnewSkillValueint
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).