public static enum PurchaseAbortedEvent.AbortReason extends Enum<PurchaseAbortedEvent.AbortReason>
Enum Constant and Description |
---|
API_CANCEL |
INTERNAL_ERROR |
INVENTORY_ERROR |
NICKED |
NO_VALID_ITEMS |
NOT_ENOUGH_ITEMS |
NOT_IN_ZONE |
PLAYER_LEFT_ZONE |
Modifier and Type | Method and Description |
---|---|
static PurchaseAbortedEvent.AbortReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchaseAbortedEvent.AbortReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchaseAbortedEvent.AbortReason NICKED
public static final PurchaseAbortedEvent.AbortReason NOT_IN_ZONE
public static final PurchaseAbortedEvent.AbortReason API_CANCEL
public static final PurchaseAbortedEvent.AbortReason NO_VALID_ITEMS
public static final PurchaseAbortedEvent.AbortReason NOT_ENOUGH_ITEMS
public static final PurchaseAbortedEvent.AbortReason INVENTORY_ERROR
public static final PurchaseAbortedEvent.AbortReason INTERNAL_ERROR
public static final PurchaseAbortedEvent.AbortReason PLAYER_LEFT_ZONE
public static PurchaseAbortedEvent.AbortReason[] values()
for (PurchaseAbortedEvent.AbortReason c : PurchaseAbortedEvent.AbortReason.values()) System.out.println(c);
public static PurchaseAbortedEvent.AbortReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.