ExchangeBuyOutcome enumeration
The game’s outcome for a buy attempt, mapped from the trade VM’s result.
public enum ExchangeBuyOutcomeValues
Section titled “Values”| 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. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain.Exchange