java.io.Serializable, java.lang.Comparable<CMMiscUtils.ItemState>public static enum CMMiscUtils.ItemState extends java.lang.Enum<CMMiscUtils.ItemState>
| Enum Constant | Description |
|---|---|
HAVE_ANY |
|
HAVE_CONTAINED |
|
HAVE_UNCONTAINED |
|
PRESENT_ANY |
|
PRESENT_CONTAINED |
|
PRESENT_UNCONTAINED |
|
ROOM_ANY |
|
ROOM_CONTAINED |
|
ROOM_UNCONTAINED |
|
WORN |
| Modifier and Type | Method | Description |
|---|---|---|
static CMMiscUtils.ItemState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CMMiscUtils.ItemState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CMMiscUtils.ItemState HAVE_ANY
public static final CMMiscUtils.ItemState HAVE_UNCONTAINED
public static final CMMiscUtils.ItemState HAVE_CONTAINED
public static final CMMiscUtils.ItemState WORN
public static final CMMiscUtils.ItemState ROOM_ANY
public static final CMMiscUtils.ItemState ROOM_UNCONTAINED
public static final CMMiscUtils.ItemState ROOM_CONTAINED
public static final CMMiscUtils.ItemState PRESENT_ANY
public static final CMMiscUtils.ItemState PRESENT_UNCONTAINED
public static final CMMiscUtils.ItemState PRESENT_CONTAINED
public static CMMiscUtils.ItemState[] values()
for (CMMiscUtils.ItemState c : CMMiscUtils.ItemState.values()) System.out.println(c);
public static CMMiscUtils.ItemState 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 null