Class TradeItemPriceFactorModel
- Namespace
- TaleWorlds.CampaignSystem.ComponentInterfaces
- Assembly
- TaleWorlds.CampaignSystem.dll
public abstract class TradeItemPriceFactorModel : GameModel
- Inheritance
-
TradeItemPriceFactorModel
- Derived
- Inherited Members
Constructors
TradeItemPriceFactorModel()
protected TradeItemPriceFactorModel()
Methods
GetBasePriceFactor(ItemCategory, float, float, float, bool, int)
public abstract float GetBasePriceFactor(ItemCategory itemCategory, float inStoreValue, float supply, float demand, bool isSelling, int transferValue)
Parameters
itemCategoryItemCategoryinStoreValuefloatsupplyfloatdemandfloatisSellingbooltransferValueint
Returns
GetPrice(EquipmentElement, MobileParty, PartyBase, bool, float, float, float)
public abstract int GetPrice(EquipmentElement itemRosterElement, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStoreValue, float supply, float demand)
Parameters
itemRosterElementEquipmentElementclientPartyMobilePartymerchantPartyBaseisSellingboolinStoreValuefloatsupplyfloatdemandfloat
Returns
GetTheoreticalMaxItemMarketValue(ItemObject)
public abstract int GetTheoreticalMaxItemMarketValue(ItemObject item)
Parameters
itemItemObject
Returns
GetTradePenalty(ItemObject, MobileParty, PartyBase, bool, float, float, float)
public abstract float GetTradePenalty(ItemObject item, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStore, float supply, float demand)
Parameters
itemItemObjectclientPartyMobilePartymerchantPartyBaseisSellingboolinStorefloatsupplyfloatdemandfloat
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).