M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.ObjectSystem.MBObjectBase Class Reference

Inherited by SandBox.Objects.InstrumentData, SandBox.Objects.SettlementMusicData, TaleWorlds.CampaignSystem.CampaignObjectBase, TaleWorlds.CampaignSystem.Clan, TaleWorlds.CampaignSystem.Concept, TaleWorlds.CampaignSystem.GameState.MenuContext, TaleWorlds.CampaignSystem.Hero, TaleWorlds.CampaignSystem.Issues.IssueBase, TaleWorlds.CampaignSystem.Issues.IssueEffect, TaleWorlds.CampaignSystem.Kingdom, TaleWorlds.CampaignSystem.MapEvents.MapEvent, TaleWorlds.CampaignSystem.Party.PartyTemplateObject, TaleWorlds.CampaignSystem.QuestBase, TaleWorlds.CampaignSystem.Settlements.Buildings.BuildingType, TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplexTemplate, TaleWorlds.CampaignSystem.Settlements.Settlement, TaleWorlds.CampaignSystem.Settlements.SettlementComponent, TaleWorlds.CampaignSystem.Settlements.VillageType, TaleWorlds.CampaignSystem.Settlements.Workshops.WorkshopType, TaleWorlds.CampaignSystem.Siege.SiegeStrategy, TaleWorlds.Core.BasicCharacterObject, TaleWorlds.Core.BasicCultureObject, TaleWorlds.Core.BladeData, TaleWorlds.Core.CraftingPiece, TaleWorlds.Core.CraftingTemplate, TaleWorlds.Core.GameState, TaleWorlds.Core.ItemCategory, TaleWorlds.Core.ItemComponent, TaleWorlds.Core.ItemModifier, TaleWorlds.Core.ItemModifierGroup, TaleWorlds.Core.ItemObject, TaleWorlds.Core.MBBodyProperty, TaleWorlds.Core.MBCharacterSkills, TaleWorlds.Core.MBEquipmentRoster, TaleWorlds.Core.Monster, TaleWorlds.Core.PropertyObject, TaleWorlds.Core.PropertyOwner< T >, TaleWorlds.Core.PropertyOwnerF< T >, TaleWorlds.Core.SiegeEngineType, TaleWorlds.Core.SkeletonScale, TaleWorlds.Core.WeaponDescription, and TaleWorlds.MountAndBlade.MultiplayerClassDivisions.MPHeroClass.

Public Member Functions

 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 ()
 

Protected Member Functions

virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Properties

string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Constructor & Destructor Documentation

◆ MBObjectBase() [1/3]

TaleWorlds.ObjectSystem.MBObjectBase.MBObjectBase ( )

◆ MBObjectBase() [2/3]

TaleWorlds.ObjectSystem.MBObjectBase.MBObjectBase ( MBObjectBase  other)

◆ MBObjectBase() [3/3]

TaleWorlds.ObjectSystem.MBObjectBase.MBObjectBase ( string  stringId)

Member Function Documentation

◆ AfterInitialized()

void TaleWorlds.ObjectSystem.MBObjectBase.AfterInitialized ( )

◆ AfterRegister()

virtual void TaleWorlds.ObjectSystem.MBObjectBase.AfterRegister ( )
virtual

◆ Initialize()

virtual void TaleWorlds.ObjectSystem.MBObjectBase.Initialize ( )
virtual

◆ Deserialize()

virtual void TaleWorlds.ObjectSystem.MBObjectBase.Deserialize ( MBObjectManager  objectManager,
XmlNode  node 
)
virtual

Reimplemented in TaleWorlds.Core.BladeData, SandBox.Objects.InstrumentData, SandBox.Objects.SettlementMusicData, StoryMode.TrainingField, TaleWorlds.CampaignSystem.CharacterObject, TaleWorlds.CampaignSystem.Clan, TaleWorlds.CampaignSystem.Concept, TaleWorlds.CampaignSystem.CultureObject, TaleWorlds.CampaignSystem.Hero, TaleWorlds.CampaignSystem.Kingdom, TaleWorlds.CampaignSystem.Party.PartyTemplateObject, TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplexTemplate, TaleWorlds.CampaignSystem.Settlements.RetirementSettlementComponent, TaleWorlds.CampaignSystem.Settlements.Settlement, TaleWorlds.CampaignSystem.Settlements.SettlementComponent, TaleWorlds.CampaignSystem.Settlements.Town, TaleWorlds.CampaignSystem.Settlements.Village, TaleWorlds.CampaignSystem.Settlements.Workshops.WorkshopType, TaleWorlds.Core.ArmorComponent, TaleWorlds.Core.BannerComponent, TaleWorlds.Core.BasicCharacterObject, TaleWorlds.Core.BasicCultureObject, TaleWorlds.Core.CraftingPiece, TaleWorlds.Core.WeaponDescription, TaleWorlds.Core.CraftingTemplate, TaleWorlds.Core.HorseComponent, TaleWorlds.Core.ItemComponent, TaleWorlds.Core.ItemModifier, TaleWorlds.Core.ItemModifierGroup, TaleWorlds.Core.ItemObject, TaleWorlds.Core.MBBodyProperty, TaleWorlds.Core.MBCharacterSkills, TaleWorlds.Core.MBEquipmentRoster, TaleWorlds.Core.Monster, TaleWorlds.Core.PropertyOwner< T >, TaleWorlds.Core.PropertyOwnerF< T >, TaleWorlds.Core.SiegeEngineType, TaleWorlds.Core.SkeletonScale, TaleWorlds.Core.TradeItemComponent, TaleWorlds.Core.WeaponComponent, and TaleWorlds.MountAndBlade.MultiplayerClassDivisions.MPHeroClass.

◆ OnBeforeLoad()

virtual void TaleWorlds.ObjectSystem.MBObjectBase.OnBeforeLoad ( )
protectedvirtual

◆ GetHashCode()

override int TaleWorlds.ObjectSystem.MBObjectBase.GetHashCode ( )

◆ GetName()

◆ PreAfterLoad()

virtual void TaleWorlds.ObjectSystem.MBObjectBase.PreAfterLoad ( )
protectedvirtual

◆ PreAfterLoadInternal()

void TaleWorlds.ObjectSystem.MBObjectBase.PreAfterLoadInternal ( )

◆ AfterLoad()

◆ AfterLoadInternal()

void TaleWorlds.ObjectSystem.MBObjectBase.AfterLoadInternal ( )

◆ OnRegistered()

void TaleWorlds.ObjectSystem.MBObjectBase.OnRegistered ( )

◆ OnUnregistered()

void TaleWorlds.ObjectSystem.MBObjectBase.OnUnregistered ( )

Property Documentation

◆ StringId

string TaleWorlds.ObjectSystem.MBObjectBase.StringId
getset

◆ Id

MBGUID TaleWorlds.ObjectSystem.MBObjectBase.Id
getset

◆ IsInitialized

bool TaleWorlds.ObjectSystem.MBObjectBase.IsInitialized
get

◆ IsReady

bool TaleWorlds.ObjectSystem.MBObjectBase.IsReady
getset