Vixen
c7401864
csharp
public interface IMarketModel

Somewhere prices come from.

Read the guide page for this →

Remarks

Doc 28's optional seam, and G-R6's bounded ambition: "a price model, not an economy simulation". What it is for is a vendor whose buy price responds to supply, and a client that can say "this is about what it goes for" — not for modelling a market.

Methods (2)

  • void Record(in TradeRecord sale)

    Records a sale.

  • long Suggest(DefId asset, long fallback = 0)

    What one of something is worth.

Used by (2)

  • AuctionHouseVixen.Gameplay.Economy
  • MovingAverageMarketVixen.Gameplay.Economy