M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Core.SkillObject Class Reference

Inherits TaleWorlds.Core.PropertyObject.

Public Types

enum  SkillTypeEnum {
  Personal ,
  Leader ,
  Party
}
 

Public Member Functions

 SkillObject (string stringId)
 
void SetAttribute (CharacterAttribute attribute)
 
override string ToString ()
 
SkillObject Initialize (TextObject name, TextObject description, SkillTypeEnum skillType)
 
- Public Member Functions inherited from TaleWorlds.Core.PropertyObject
 PropertyObject (string stringId)
 Initializes a new instance of the SkillObject class.
 
void Initialize (TextObject name, TextObject description)
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Properties

CharacterAttribute CharacterAttribute [get]
 
bool IsLeaderSkill [get]
 
bool IsPartySkill [get]
 
bool IsPersonalSkill [get]
 
TextObject HowToLearnSkillText [get]
 
- Properties inherited from TaleWorlds.Core.PropertyObject
TextObject Name [get]
 
TextObject Description [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Member Enumeration Documentation

◆ SkillTypeEnum

Enumerator
Personal 
Leader 
Party 

Constructor & Destructor Documentation

◆ SkillObject()

TaleWorlds.Core.SkillObject.SkillObject ( string  stringId)

Member Function Documentation

◆ SetAttribute()

void TaleWorlds.Core.SkillObject.SetAttribute ( CharacterAttribute  attribute)

◆ ToString()

override string TaleWorlds.Core.SkillObject.ToString ( )

◆ Initialize()

SkillObject TaleWorlds.Core.SkillObject.Initialize ( TextObject  name,
TextObject  description,
SkillTypeEnum  skillType 
)

Property Documentation

◆ CharacterAttribute

CharacterAttribute TaleWorlds.Core.SkillObject.CharacterAttribute
get

◆ IsLeaderSkill

bool TaleWorlds.Core.SkillObject.IsLeaderSkill
get

◆ IsPartySkill

bool TaleWorlds.Core.SkillObject.IsPartySkill
get

◆ IsPersonalSkill

bool TaleWorlds.Core.SkillObject.IsPersonalSkill
get

◆ HowToLearnSkillText

TextObject TaleWorlds.Core.SkillObject.HowToLearnSkillText
get