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

Inherits TaleWorlds.Core.PropertyObject.

Public Member Functions

 TraitObject (string stringId)
 
void Initialize (TextObject name, TextObject description, bool isHidden, int minValue, int maxValue)
 
- 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

static MBReadOnlyList< TraitObjectAll [get]
 
int MinValue [get]
 
int MaxValue [get]
 
bool IsHidden [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 ()
 

Constructor & Destructor Documentation

◆ TraitObject()

TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.TraitObject ( string  stringId)

Member Function Documentation

◆ Initialize()

void TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.Initialize ( TextObject  name,
TextObject  description,
bool  isHidden,
int  minValue,
int  maxValue 
)

Property Documentation

◆ All

MBReadOnlyList<TraitObject> TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.All
staticget

◆ MinValue

int TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.MinValue
get

◆ MaxValue

int TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.MaxValue
get

◆ IsHidden

bool TaleWorlds.CampaignSystem.CharacterDevelopment.TraitObject.IsHidden
get