Table of Contents

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

int

CurrencyId

Rust item definition ID of the accepted currency.

public int CurrencyId { get; init; }

Property Value

int

Id

Rust item definition ID of the item being sold.

public int Id { get; init; }

Property Value

int

IsCurrencyBlueprint

true if the currency item is a blueprint.

public bool IsCurrencyBlueprint { get; init; }

Property Value

bool

IsItemBlueprint

true if the sold item is a blueprint.

public bool IsItemBlueprint { get; init; }

Property Value

bool

ItemLife

Current condition of the item (0โ€“1 scale).

public float ItemLife { get; init; }

Property Value

float

ItemMaxLife

Maximum condition value of the item (0โ€“1 scale).

public float ItemMaxLife { get; init; }

Property Value

float

PriceMultiplier

Price multiplier applied to the order, if reported.

public float? PriceMultiplier { get; init; }

Property Value

float?

StackSize

Quantity of the item offered per transaction.

public int StackSize { get; init; }

Property Value

int

StackSizeAmount

Total quantity of this item available in the machine.

public int StackSizeAmount { get; init; }

Property Value

int