/// <summary>Construct an instance.</summary> /// <param name="label">A short field label.</param> /// <param name="saleValue">The flat sale value.</param> /// <param name="stackSize">The number of items in the stack.</param> public SaleValueField(string label, int saleValue, int stackSize) : base(label, SaleValueField.GetSummary(new Dictionary <ItemQuality, int> { [ItemQuality.Normal] = saleValue }, stackSize)) { }
/********* ** Public methods *********/ /// <summary>Construct an instance.</summary> /// <param name="label">A short field label.</param> /// <param name="saleValues">The sale values by quality.</param> /// <param name="stackSize">The number of items in the stack.</param> public SaleValueField(string label, IDictionary <ItemQuality, int> saleValues, int stackSize) : base(label, SaleValueField.GetSummary(saleValues, stackSize)) { }