Inherits TaleWorlds.CampaignSystem.Settlements.IMarketData.
|
| TownMarketData (Town town) |
|
ItemData | GetCategoryData (ItemCategory itemCategory) |
|
int | GetItemCountOfCategory (ItemCategory itemCategory) |
|
void | OnTownInventoryUpdated (ItemRosterElement item, int count) |
|
void | AddDemand (ItemCategory itemCategory, float demandAmount) |
|
void | AddSupply (ItemCategory itemCategory, float supplyAmount) |
|
void | AddNumberInStore (ItemCategory itemCategory, int number, int value) |
|
void | SetSupplyDemand (ItemCategory itemCategory, float supply, float demand) |
|
void | SetDemand (ItemCategory itemCategory, float demand) |
|
float | GetDemand (ItemCategory itemCategory) |
|
float | GetSupply (ItemCategory itemCategory) |
|
float | GetPriceFactor (ItemCategory itemCategory) |
|
int | GetPrice (ItemObject item, MobileParty tradingParty=null, bool isSelling=false, PartyBase merchantParty=null) |
|
int | GetPrice (EquipmentElement itemRosterElement, MobileParty tradingParty=null, bool isSelling=false, PartyBase merchantParty=null) |
|
void | UpdateStores () |
|
int | GetPrice (ItemObject item, MobileParty tradingParty, bool isSelling, PartyBase merchantParty) |
|
int | GetPrice (EquipmentElement itemRosterElement, MobileParty tradingParty, bool isSelling, PartyBase merchantParty) |
|
◆ TownMarketData()
TaleWorlds.CampaignSystem.Settlements.TownMarketData.TownMarketData |
( |
Town |
town | ) |
|
◆ GetCategoryData()
ItemData TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetCategoryData |
( |
ItemCategory |
itemCategory | ) |
|
◆ GetItemCountOfCategory()
int TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetItemCountOfCategory |
( |
ItemCategory |
itemCategory | ) |
|
◆ OnTownInventoryUpdated()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.OnTownInventoryUpdated |
( |
ItemRosterElement |
item, |
|
|
int |
count |
|
) |
| |
◆ AddDemand()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.AddDemand |
( |
ItemCategory |
itemCategory, |
|
|
float |
demandAmount |
|
) |
| |
◆ AddSupply()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.AddSupply |
( |
ItemCategory |
itemCategory, |
|
|
float |
supplyAmount |
|
) |
| |
◆ AddNumberInStore()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.AddNumberInStore |
( |
ItemCategory |
itemCategory, |
|
|
int |
number, |
|
|
int |
value |
|
) |
| |
◆ SetSupplyDemand()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.SetSupplyDemand |
( |
ItemCategory |
itemCategory, |
|
|
float |
supply, |
|
|
float |
demand |
|
) |
| |
◆ SetDemand()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.SetDemand |
( |
ItemCategory |
itemCategory, |
|
|
float |
demand |
|
) |
| |
◆ GetDemand()
float TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetDemand |
( |
ItemCategory |
itemCategory | ) |
|
◆ GetSupply()
float TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetSupply |
( |
ItemCategory |
itemCategory | ) |
|
◆ GetPriceFactor()
float TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetPriceFactor |
( |
ItemCategory |
itemCategory | ) |
|
◆ GetPrice() [1/2]
int TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetPrice |
( |
ItemObject |
item, |
|
|
MobileParty |
tradingParty = null , |
|
|
bool |
isSelling = false , |
|
|
PartyBase |
merchantParty = null |
|
) |
| |
◆ GetPrice() [2/2]
int TaleWorlds.CampaignSystem.Settlements.TownMarketData.GetPrice |
( |
EquipmentElement |
itemRosterElement, |
|
|
MobileParty |
tradingParty = null , |
|
|
bool |
isSelling = false , |
|
|
PartyBase |
merchantParty = null |
|
) |
| |
◆ UpdateStores()
void TaleWorlds.CampaignSystem.Settlements.TownMarketData.UpdateStores |
( |
| ) |
|