Class DefaultTradeItemPriceFactorModel
- Namespace
- TaleWorlds.CampaignSystem.GameComponents
- Assembly
- TaleWorlds.CampaignSystem.dll
public class DefaultTradeItemPriceFactorModel : TradeItemPriceFactorModel
- Inheritance
-
DefaultTradeItemPriceFactorModel
- Inherited Members
Constructors
DefaultTradeItemPriceFactorModel()
public DefaultTradeItemPriceFactorModel()
Methods
GetBasePriceFactor(ItemCategory, float, float, float, bool, int)
public override float GetBasePriceFactor(ItemCategory itemCategory, float inStoreValue, float supply, float demand, bool isSelling, int transferValue)
Parameters
itemCategory
ItemCategoryinStoreValue
floatsupply
floatdemand
floatisSelling
booltransferValue
int
Returns
GetPrice(EquipmentElement, MobileParty, PartyBase, bool, float, float, float)
public override int GetPrice(EquipmentElement itemRosterElement, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStoreValue, float supply, float demand)
Parameters
itemRosterElement
EquipmentElementclientParty
MobilePartymerchant
PartyBaseisSelling
boolinStoreValue
floatsupply
floatdemand
float
Returns
GetTheoreticalMaxItemMarketValue(ItemObject)
public override int GetTheoreticalMaxItemMarketValue(ItemObject item)
Parameters
item
ItemObject
Returns
GetTradePenalty(ItemObject, MobileParty, PartyBase, bool, float, float, float)
public override float GetTradePenalty(ItemObject item, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStore, float supply, float demand)
Parameters
item
ItemObjectclientParty
MobilePartymerchant
PartyBaseisSelling
boolinStore
floatsupply
floatdemand
float
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).