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

Inherits TaleWorlds.Core.PropertyObject.

Public Types

enum  EffectIncrementType
 

Public Member Functions

 BannerEffect (string stringId)
 
void Initialize (string name, string description, float level1Bonus, float level2Bonus, float level3Bonus, EffectIncrementType incrementType)
 
float GetBonusAtLevel (int bannerLevel)
 
string GetBonusStringAtLevel (int bannerLevel)
 
TextObject GetDescription (int bannerLevel)
 
override string ToString ()
 
- Public Member Functions inherited from TaleWorlds.Core.PropertyObject
 PropertyObject (string stringId)
 Initializes a new instance of the SkillObject class. More...
 
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

EffectIncrementType IncrementType [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

◆ EffectIncrementType

Constructor & Destructor Documentation

◆ BannerEffect()

TaleWorlds.Core.BannerEffect.BannerEffect ( string  stringId)

Member Function Documentation

◆ Initialize()

void TaleWorlds.Core.BannerEffect.Initialize ( string  name,
string  description,
float  level1Bonus,
float  level2Bonus,
float  level3Bonus,
EffectIncrementType  incrementType 
)

◆ GetBonusAtLevel()

float TaleWorlds.Core.BannerEffect.GetBonusAtLevel ( int  bannerLevel)

◆ GetBonusStringAtLevel()

string TaleWorlds.Core.BannerEffect.GetBonusStringAtLevel ( int  bannerLevel)

◆ GetDescription()

TextObject TaleWorlds.Core.BannerEffect.GetDescription ( int  bannerLevel)

◆ ToString()

override string TaleWorlds.Core.BannerEffect.ToString ( )

Property Documentation

◆ IncrementType

EffectIncrementType TaleWorlds.Core.BannerEffect.IncrementType
get