Inherits TaleWorlds.CampaignSystem.Settlements.Fief.
|
IEnumerable< PartyBase > | GetDefenderParties (MapEvent.BattleTypes battleType) |
|
PartyBase | GetNextDefenderParty (ref int partyIndex, MapEvent.BattleTypes battleType) |
|
int | FoodStocksUpperLimit () |
|
| Town () |
|
override void | OnInit () |
|
void | InitializeWorkshops (int count) |
|
float | GetEffectOfBuildings (BuildingEffectEnum buildingEffect) |
|
int | GetWallLevel () |
|
override string | ToString () |
|
override void | Deserialize (MBObjectManager objectManager, XmlNode node) |
|
void | SetSoldItems (IEnumerable< SellLog > logList) |
|
override int | GetItemPrice (ItemObject item, MobileParty tradingParty=null, bool isSelling=false) |
|
override int | GetItemPrice (EquipmentElement itemRosterElement, MobileParty tradingParty=null, bool isSelling=false) |
|
override ProsperityLevel | GetProsperityLevel () |
|
float | GetItemCategoryPriceIndex (ItemCategory itemCategory) |
|
virtual ProsperityLevel | GetProsperityLevel () |
|
virtual void | OnPartyEntered (MobileParty mobileParty) |
|
virtual void | OnPartyLeft (MobileParty mobileParty) |
|
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< CharacterObject > | GetPrisonerHeroes () |
|
| 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 () |
|
|
float | Prosperity [get, set] |
|
CultureObject | Culture [get] |
|
float | ProsperityChange [get] |
|
ExplainedNumber | ProsperityChangeExplanation [get] |
|
int | GarrisonChange [get] |
|
int | GarrisonChangeAutoRecruitment [get] |
|
ExplainedNumber | GarrisonChangeExplanation [get] |
|
float | FoodChange [get] |
|
float | FoodChangeWithoutMarketStocks [get] |
|
ExplainedNumber | FoodChangeExplanation [get] |
|
float | LoyaltyChange [get] |
|
ExplainedNumber | LoyaltyChangeExplanation [get] |
|
float | SecurityChange [get] |
|
ExplainedNumber | SecurityChangeExplanation [get] |
|
float | MilitiaChange [get] |
|
ExplainedNumber | MilitiaChangeExplanation [get] |
|
float | Construction [get] |
|
ExplainedNumber | ConstructionExplanation [get] |
|
Clan | OwnerClan [get, set] |
|
float | Security [get, set] |
|
float | Loyalty [get, set] |
|
MBReadOnlyList< Village > | TradeBoundVillages [get] |
|
Workshop[] | Workshops [get, protected set] |
|
Building | CurrentBuilding [get] |
|
Building | CurrentDefaultBuilding [get] |
|
TownMarketData | MarketData [get] |
|
int | TradeTaxAccumulated [get, set] |
|
Hero | Governor [get, set] |
|
static IEnumerable< Town > | AllFiefs [get] |
|
static MBReadOnlyList< Town > | AllTowns [get] |
|
static MBReadOnlyList< Town > | AllCastles [get] |
|
override bool | IsTown [get] |
|
override bool | IsCastle [get] |
|
IReadOnlyCollection< SellLog > | SoldItems [get] |
|
IFaction | MapFaction [get] |
|
bool | IsUnderSiege [get] |
|
MBReadOnlyList< Village > | Villages [get] |
|
Clan | LastCapturedBy [get, set] |
|
bool | HasTournament [get] |
|
float | FoodStocks [get, set] |
|
float | Militia [get] |
|
MobileParty | GarrisonParty [get] |
|
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] |
|
string | StringId [get, set] |
|
MBGUID | Id [get, set] |
|
bool | IsInitialized [get] |
|
bool | IsReady [get, set] |
|
◆ Town()
TaleWorlds.CampaignSystem.Settlements.Town.Town |
( |
| ) |
|
◆ GetDefenderParties()
◆ GetNextDefenderParty()
◆ FoodStocksUpperLimit()
int TaleWorlds.CampaignSystem.Settlements.Town.FoodStocksUpperLimit |
( |
| ) |
|
◆ OnInit()
override void TaleWorlds.CampaignSystem.Settlements.Town.OnInit |
( |
| ) |
|
|
virtual |
◆ InitializeWorkshops()
void TaleWorlds.CampaignSystem.Settlements.Town.InitializeWorkshops |
( |
int |
count | ) |
|
◆ PreAfterLoad()
override void TaleWorlds.CampaignSystem.Settlements.Town.PreAfterLoad |
( |
| ) |
|
|
protectedvirtual |
◆ AfterLoad()
override void TaleWorlds.CampaignSystem.Settlements.Town.AfterLoad |
( |
| ) |
|
|
protectedvirtual |
◆ GetEffectOfBuildings()
float TaleWorlds.CampaignSystem.Settlements.Town.GetEffectOfBuildings |
( |
BuildingEffectEnum |
buildingEffect | ) |
|
◆ GetWallLevel()
int TaleWorlds.CampaignSystem.Settlements.Town.GetWallLevel |
( |
| ) |
|
◆ ToString()
override string TaleWorlds.CampaignSystem.Settlements.Town.ToString |
( |
| ) |
|
◆ Deserialize()
override void TaleWorlds.CampaignSystem.Settlements.Town.Deserialize |
( |
MBObjectManager |
objectManager, |
|
|
XmlNode |
node |
|
) |
| |
|
virtual |
◆ SetSoldItems()
void TaleWorlds.CampaignSystem.Settlements.Town.SetSoldItems |
( |
IEnumerable< SellLog > |
logList | ) |
|
◆ GetItemPrice() [1/2]
override int TaleWorlds.CampaignSystem.Settlements.Town.GetItemPrice |
( |
ItemObject |
item, |
|
|
MobileParty |
tradingParty = null , |
|
|
bool |
isSelling = false |
|
) |
| |
|
virtual |
◆ GetItemPrice() [2/2]
override int TaleWorlds.CampaignSystem.Settlements.Town.GetItemPrice |
( |
EquipmentElement |
itemRosterElement, |
|
|
MobileParty |
tradingParty = null , |
|
|
bool |
isSelling = false |
|
) |
| |
|
virtual |
◆ GetProsperityLevel()
override ProsperityLevel TaleWorlds.CampaignSystem.Settlements.Town.GetProsperityLevel |
( |
| ) |
|
|
virtual |
◆ OnInventoryUpdated()
override void TaleWorlds.CampaignSystem.Settlements.Town.OnInventoryUpdated |
( |
ItemRosterElement |
item, |
|
|
int |
count |
|
) |
| |
|
protectedvirtual |
◆ GetItemCategoryPriceIndex()
float TaleWorlds.CampaignSystem.Settlements.Town.GetItemCategoryPriceIndex |
( |
ItemCategory |
itemCategory | ) |
|
◆ BesiegerCampPositions1
MatrixFrame [] TaleWorlds.CampaignSystem.Settlements.Town.BesiegerCampPositions1 |
◆ BesiegerCampPositions2
MatrixFrame [] TaleWorlds.CampaignSystem.Settlements.Town.BesiegerCampPositions2 |
◆ GarrisonAutoRecruitmentIsEnabled
bool TaleWorlds.CampaignSystem.Settlements.Town.GarrisonAutoRecruitmentIsEnabled = true |
◆ Buildings
◆ BuildingsInProgress
Queue<Building> TaleWorlds.CampaignSystem.Settlements.Town.BuildingsInProgress |
◆ BoostBuildingProcess
int TaleWorlds.CampaignSystem.Settlements.Town.BoostBuildingProcess = 0 |
◆ InRebelliousState
bool TaleWorlds.CampaignSystem.Settlements.Town.InRebelliousState = false |
◆ Prosperity
float TaleWorlds.CampaignSystem.Settlements.Town.Prosperity |
|
getset |
◆ Culture
◆ ProsperityChange
float TaleWorlds.CampaignSystem.Settlements.Town.ProsperityChange |
|
get |
◆ ProsperityChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.ProsperityChangeExplanation |
|
get |
◆ GarrisonChange
int TaleWorlds.CampaignSystem.Settlements.Town.GarrisonChange |
|
get |
◆ GarrisonChangeAutoRecruitment
int TaleWorlds.CampaignSystem.Settlements.Town.GarrisonChangeAutoRecruitment |
|
get |
◆ GarrisonChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.GarrisonChangeExplanation |
|
get |
◆ FoodChange
float TaleWorlds.CampaignSystem.Settlements.Town.FoodChange |
|
get |
◆ FoodChangeWithoutMarketStocks
float TaleWorlds.CampaignSystem.Settlements.Town.FoodChangeWithoutMarketStocks |
|
get |
◆ FoodChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.FoodChangeExplanation |
|
get |
◆ LoyaltyChange
float TaleWorlds.CampaignSystem.Settlements.Town.LoyaltyChange |
|
get |
◆ LoyaltyChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.LoyaltyChangeExplanation |
|
get |
◆ SecurityChange
float TaleWorlds.CampaignSystem.Settlements.Town.SecurityChange |
|
get |
◆ SecurityChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.SecurityChangeExplanation |
|
get |
◆ MilitiaChange
float TaleWorlds.CampaignSystem.Settlements.Town.MilitiaChange |
|
get |
◆ MilitiaChangeExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.MilitiaChangeExplanation |
|
get |
◆ Construction
float TaleWorlds.CampaignSystem.Settlements.Town.Construction |
|
get |
◆ ConstructionExplanation
ExplainedNumber TaleWorlds.CampaignSystem.Settlements.Town.ConstructionExplanation |
|
get |
◆ OwnerClan
Clan TaleWorlds.CampaignSystem.Settlements.Town.OwnerClan |
|
getset |
◆ Security
float TaleWorlds.CampaignSystem.Settlements.Town.Security |
|
getset |
◆ Loyalty
float TaleWorlds.CampaignSystem.Settlements.Town.Loyalty |
|
getset |
◆ TradeBoundVillages
◆ Workshops
Workshop [] TaleWorlds.CampaignSystem.Settlements.Town.Workshops |
|
getprotected set |
◆ CurrentBuilding
Building TaleWorlds.CampaignSystem.Settlements.Town.CurrentBuilding |
|
get |
◆ CurrentDefaultBuilding
Building TaleWorlds.CampaignSystem.Settlements.Town.CurrentDefaultBuilding |
|
get |
◆ MarketData
◆ TradeTaxAccumulated
int TaleWorlds.CampaignSystem.Settlements.Town.TradeTaxAccumulated |
|
getset |
◆ Governor
Hero TaleWorlds.CampaignSystem.Settlements.Town.Governor |
|
getset |
◆ AllFiefs
IEnumerable<Town> TaleWorlds.CampaignSystem.Settlements.Town.AllFiefs |
|
staticget |
◆ AllTowns
◆ AllCastles
◆ IsTown
override bool TaleWorlds.CampaignSystem.Settlements.Town.IsTown |
|
get |
◆ IsCastle
override bool TaleWorlds.CampaignSystem.Settlements.Town.IsCastle |
|
get |
◆ SoldItems
IReadOnlyCollection<SellLog> TaleWorlds.CampaignSystem.Settlements.Town.SoldItems |
|
get |
◆ MapFaction
IFaction TaleWorlds.CampaignSystem.Settlements.Town.MapFaction |
|
get |
◆ IsUnderSiege
bool TaleWorlds.CampaignSystem.Settlements.Town.IsUnderSiege |
|
get |
◆ Villages
◆ LastCapturedBy
Clan TaleWorlds.CampaignSystem.Settlements.Town.LastCapturedBy |
|
getset |
◆ HasTournament
bool TaleWorlds.CampaignSystem.Settlements.Town.HasTournament |
|
get |