public enum EPersonaState extends java.lang.Enum<EPersonaState>
| Enum Constant and Description |
|---|
Away |
Busy |
Invisible |
LookingToPlay |
LookingToTrade |
Offline |
Online |
Snooze |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static EPersonaState |
from(int code) |
static EPersonaState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EPersonaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPersonaState Offline
public static final EPersonaState Online
public static final EPersonaState Busy
public static final EPersonaState Away
public static final EPersonaState Snooze
public static final EPersonaState LookingToTrade
public static final EPersonaState LookingToPlay
public static final EPersonaState Invisible
public static EPersonaState[] values()
for (EPersonaState c : EPersonaState.values()) System.out.println(c);
public static EPersonaState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int code()
public static EPersonaState from(int code)