Skip to content
Version 2.11.0
↓ Get the launcher

ExchangeBuyOutcome enumeration

The game’s outcome for a buy attempt, mapped from the trade VM’s result.

public enum ExchangeBuyOutcome
name value description
Success 0 The buy succeeded.
NoItemAvailable 1 No matching item was available to buy.
InsufficientFunds 2 The player could not afford the purchase.
Rejected 3 The game rejected the buy for another reason (it toasts the cause).
Timeout 4 The request did not resolve in time. Indeterminate for a buy — the purchase may still have succeeded server-side; do not blind-retry, reconcile against inventory/currency first.