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

Inherits TaleWorlds.ObjectSystem.MBObjectBase.

Public Member Functions

 ItemModifierGroup ()
 
 ItemModifierGroup (string id)
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 De-serializes the object from an XmlNode. More...
 
void AddItemModifier (ItemModifier itemModifier)
 
ItemModifier GetRandomItemModifierLootScoreBased ()
 
ItemModifier GetRandomItemModifierProductionScoreBased ()
 
- 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

int NoModifierLootScore [get]
 
int NoModifierProductionScore [get]
 
IReadOnlyList< ItemModifierItemModifiers [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

◆ ItemModifierGroup() [1/2]

TaleWorlds.Core.ItemModifierGroup.ItemModifierGroup ( )

◆ ItemModifierGroup() [2/2]

TaleWorlds.Core.ItemModifierGroup.ItemModifierGroup ( string  id)

Member Function Documentation

◆ Deserialize()

override void TaleWorlds.Core.ItemModifierGroup.Deserialize ( MBObjectManager  objectManager,
XmlNode  node 
)
virtual
Parameters
nodeXmlNode to be de-serialized from.

Reimplemented from TaleWorlds.ObjectSystem.MBObjectBase.

◆ AddItemModifier()

void TaleWorlds.Core.ItemModifierGroup.AddItemModifier ( ItemModifier  itemModifier)

◆ GetRandomItemModifierLootScoreBased()

ItemModifier TaleWorlds.Core.ItemModifierGroup.GetRandomItemModifierLootScoreBased ( )

◆ GetRandomItemModifierProductionScoreBased()

ItemModifier TaleWorlds.Core.ItemModifierGroup.GetRandomItemModifierProductionScoreBased ( )

Property Documentation

◆ NoModifierLootScore

int TaleWorlds.Core.ItemModifierGroup.NoModifierLootScore
get

◆ NoModifierProductionScore

int TaleWorlds.Core.ItemModifierGroup.NoModifierProductionScore
get

◆ ItemModifiers

IReadOnlyList<ItemModifier> TaleWorlds.Core.ItemModifierGroup.ItemModifiers
get