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

Inherits TaleWorlds.CampaignSystem.Settlements.SettlementComponent.

Inherited by TaleWorlds.CampaignSystem.Settlements.Town.

Public Attributes

GarrisonPartyComponent GarrisonPartyComponent
 
- Public Attributes inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
bool IsTaken
 

Properties

float Prosperity [get]
 
float FoodStocks [get, set]
 
float Militia [get]
 
MobileParty GarrisonParty [get]
 
- 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]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
enum  ProsperityLevel
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
virtual ProsperityLevel GetProsperityLevel ()
 
virtual void OnPartyEntered (MobileParty mobileParty)
 
virtual void OnPartyLeft (MobileParty mobileParty)
 
virtual void OnStart ()
 
virtual void OnInit ()
 
void ChangeGold (int changeAmount)
 
int GetNumberOfTroops ()
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
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 ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 
- Protected Member Functions inherited from TaleWorlds.CampaignSystem.Settlements.SettlementComponent
abstract void OnInventoryUpdated (ItemRosterElement item, int count)
 
 SettlementComponent ()
 
- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Member Data Documentation

◆ GarrisonPartyComponent

GarrisonPartyComponent TaleWorlds.CampaignSystem.Settlements.Fief.GarrisonPartyComponent

Property Documentation

◆ Prosperity

float TaleWorlds.CampaignSystem.Settlements.Fief.Prosperity
get

◆ FoodStocks

float TaleWorlds.CampaignSystem.Settlements.Fief.FoodStocks
getset

◆ Militia

float TaleWorlds.CampaignSystem.Settlements.Fief.Militia
get

◆ GarrisonParty

MobileParty TaleWorlds.CampaignSystem.Settlements.Fief.GarrisonParty
get