csharp
public readonly record struct TradeRecordOne sale, as a price model sees it.
Remarks
⚠ A unit price, not a total. Recording totals makes a stack of a hundred look like a hundred-fold price rise, and an average over a mixture of stack sizes is then a number about nothing.
Fields and properties (4)
public DefId AssetWhat.
public long UnitPriceWhat one went for.
public long CountHow many, which is how much the sale is worth as evidence.
public float AtWhen, on the caller's clock.
Methods (1)
public TradeRecord(DefId Asset, long UnitPrice, long Count, float At)One sale, as a price model sees it.
Used by (2)
- IMarketModelVixen.Gameplay.Economy
- MovingAverageMarketVixen.Gameplay.Economy