public static enum Model.ItemState.Type extends java.lang.Enum<Model.ItemState.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.ItemState.Type| Enum Constant and Description |
|---|
CONTAINER
The item is a container with other items inside.
|
DESCRIPTIVE
The item has a descriptive property with no specific rules associated with it.
|
EFFECT
The item is the subject of a permanent or temporary magical or mundane effect.
|
NAME
The item has a name, as a book or a legendary weapon might.
|
SPELL
The item has a spell inscribed on or in it.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_VALUE
The item is a container with other items inside.
|
static int |
DESCRIPTIVE_VALUE
The item has a descriptive property with no specific rules associated with it.
|
static int |
EFFECT_VALUE
The item is the subject of a permanent or temporary magical or mundane effect.
|
static int |
NAME_VALUE
The item has a name, as a book or a legendary weapon might.
|
static int |
SPELL_VALUE
The item has a spell inscribed on or in it.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.ItemState.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.ItemState.Type> |
internalGetValueMap() |
static Model.ItemState.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.ItemState.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.ItemState.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.ItemState.Type NAME
The item has a name, as a book or a legendary weapon might.
NAME = 0;public static final Model.ItemState.Type SPELL
The item has a spell inscribed on or in it.
SPELL = 1;public static final Model.ItemState.Type CONTAINER
The item is a container with other items inside.
CONTAINER = 2;public static final Model.ItemState.Type EFFECT
The item is the subject of a permanent or temporary magical or mundane effect.
EFFECT = 3;public static final Model.ItemState.Type DESCRIPTIVE
The item has a descriptive property with no specific rules associated with it.
DESCRIPTIVE = 4;public static final Model.ItemState.Type UNRECOGNIZED
public static final int NAME_VALUE
The item has a name, as a book or a legendary weapon might.
NAME = 0;public static final int SPELL_VALUE
The item has a spell inscribed on or in it.
SPELL = 1;public static final int CONTAINER_VALUE
The item is a container with other items inside.
CONTAINER = 2;public static final int EFFECT_VALUE
The item is the subject of a permanent or temporary magical or mundane effect.
EFFECT = 3;public static final int DESCRIPTIVE_VALUE
The item has a descriptive property with no specific rules associated with it.
DESCRIPTIVE = 4;public static Model.ItemState.Type[] values()
for (Model.ItemState.Type c : Model.ItemState.Type.values()) System.out.println(c);
public static Model.ItemState.Type 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static Model.ItemState.Type valueOf(int value)
forNumber(int) instead.public static Model.ItemState.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.ItemState.Type> internalGetValueMap()