M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
StoryMode.TrainingField Class Reference

Inherits TaleWorlds.CampaignSystem.Settlements.SettlementComponent.

Public Member Functions

override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
virtual ProsperityLevel GetProsperityLevel ()
 
virtual void OnPartyEntered (MobileParty mobileParty)
 
virtual void OnPartyLeft (MobileParty mobileParty)
 
virtual void OnInit ()
 
void ChangeGold (int changeAmount)
 
int GetNumberOfTroops ()
 
virtual int GetItemPrice (ItemObject item, MobileParty tradingParty=null, bool isSelling=false)
 
virtual int GetItemPrice (EquipmentElement itemRosterElement, MobileParty tradingParty=null, bool isSelling=false)
 
virtual void OnRelatedPartyRemoved (MobileParty mobileParty)
 
List< CharacterObjectGetPrisonerHeroes ()
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Protected Member Functions

override void OnInventoryUpdated (ItemRosterElement item, int count)
 
- Protected Member Functions inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
void OnInventoryUpdated (ItemRosterElement item, int count)
 
 SettlementComponent ()
 
- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
enum  ProsperityLevel {
  Low ,
  Mid ,
  High ,
  NumberOfLevels
}
 
- Properties inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
int Gold [get]
 
float BackgroundCropPosition [get, protected set]
 
string BackgroundMeshName [get, protected set]
 
string WaitMeshName [get, protected set]
 
string CastleBackgroundMeshName [get, protected set]
 
PartyBase Owner [get]
 
Settlement Settlement [get]
 
TextObject Name [get]
 
bool IsOwnerUnassigned [get, set]
 
virtual bool IsTown [get]
 
virtual bool IsCastle [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Member Function Documentation

◆ Deserialize()

override void StoryMode.TrainingField.Deserialize ( MBObjectManager objectManager,
XmlNode node )
virtual

◆ OnInventoryUpdated()

override void StoryMode.TrainingField.OnInventoryUpdated ( ItemRosterElement item,
int count )
protected