public enum EEconTradeResponse extends Enum<EEconTradeResponse>
Enum Constant and Description |
---|
Accepted |
Cancel |
ConnectionFailed |
Declined |
Disabled |
Error |
InitiatorAlreadyTrading |
NotLoggedIn |
TargetAlreadyTrading |
Timeout |
TooSoon |
TooSoonPenalty |
VacBannedInitiator |
VacBannedTarget |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static HashMap<Integer,EEconTradeResponse> |
values |
Modifier and Type | Method and Description |
---|---|
static EEconTradeResponse |
f(int code) |
int |
v() |
static EEconTradeResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EEconTradeResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEconTradeResponse Accepted
public static final EEconTradeResponse Declined
public static final EEconTradeResponse VacBannedInitiator
public static final EEconTradeResponse VacBannedTarget
public static final EEconTradeResponse TargetAlreadyTrading
public static final EEconTradeResponse Disabled
public static final EEconTradeResponse NotLoggedIn
public static final EEconTradeResponse Cancel
public static final EEconTradeResponse TooSoon
public static final EEconTradeResponse TooSoonPenalty
public static final EEconTradeResponse ConnectionFailed
public static final EEconTradeResponse InitiatorAlreadyTrading
public static final EEconTradeResponse Error
public static final EEconTradeResponse Timeout
private int code
private static HashMap<Integer,EEconTradeResponse> values
public static EEconTradeResponse[] values()
for (EEconTradeResponse c : EEconTradeResponse.values()) System.out.println(c);
public static EEconTradeResponse 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 nullpublic int v()
public static EEconTradeResponse f(int code)
Copyright © 2012. All Rights Reserved.