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

Inherits TaleWorlds.Core.PropertyObject.

Public Types

enum  AdditionType {
  Add ,
  AddFactor
}
 

Public Member Functions

 FeatObject (string stringId)
 
void Initialize (string name, string description, float effectBonus, bool isPositiveEffect, AdditionType incrementType)
 
- 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 Library.MBReadOnlyList< FeatObjectAll [get]
 
float EffectBonus [get]
 
AdditionType IncrementType [get]
 
bool IsPositive [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

◆ AdditionType

Constructor & Destructor Documentation

◆ FeatObject()

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

Member Function Documentation

◆ Initialize()

void TaleWorlds.CampaignSystem.CharacterDevelopment.FeatObject.Initialize ( string  name,
string  description,
float  effectBonus,
bool  isPositiveEffect,
AdditionType  incrementType 
)

Property Documentation

◆ All

Library.MBReadOnlyList<FeatObject> TaleWorlds.CampaignSystem.CharacterDevelopment.FeatObject.All
staticget

◆ EffectBonus

float TaleWorlds.CampaignSystem.CharacterDevelopment.FeatObject.EffectBonus
get

◆ IncrementType

AdditionType TaleWorlds.CampaignSystem.CharacterDevelopment.FeatObject.IncrementType
get

◆ IsPositive

bool TaleWorlds.CampaignSystem.CharacterDevelopment.FeatObject.IsPositive
get