Class VendingMachineItem
- Namespace
- RustPlusApi.Data
- Assembly
- RustPlusApi.dll
A single sell order listed in a vending machine.
public sealed record VendingMachineItem : IEquatable<VendingMachineItem>
- Inheritance
-
VendingMachineItem
- Implements
- Inherited Members
Properties
CostPerStack
Amount of currency required per transaction.
public int CostPerStack { get; init; }
Property Value
CurrencyId
Rust item definition ID of the accepted currency.
public int CurrencyId { get; init; }
Property Value
Id
Rust item definition ID of the item being sold.
public int Id { get; init; }
Property Value
IsCurrencyBlueprint
true if the currency item is a blueprint.
public bool IsCurrencyBlueprint { get; init; }
Property Value
IsItemBlueprint
true if the sold item is a blueprint.
public bool IsItemBlueprint { get; init; }
Property Value
ItemLife
Current condition of the item (0โ1 scale).
public float ItemLife { get; init; }
Property Value
ItemMaxLife
Maximum condition value of the item (0โ1 scale).
public float ItemMaxLife { get; init; }
Property Value
PriceMultiplier
Price multiplier applied to the order, if reported.
public float? PriceMultiplier { get; init; }
Property Value
StackSize
Quantity of the item offered per transaction.
public int StackSize { get; init; }
Property Value
StackSizeAmount
Total quantity of this item available in the machine.
public int StackSizeAmount { get; init; }