public static enum Model.MagicItemResource.RecoveryType extends java.lang.Enum<Model.MagicItemResource.RecoveryType> implements com.google.protobuf.Internal.EnumLite
TODO: Handle Cloak of Invisibility style of recoveryProtobuf enum
ca.isupeene.charactersheet.cdk.MagicItemResource.RecoveryType| Enum Constant and Description |
|---|
ALL
ALL = 0; |
DIE
DIE = 1; |
NONE
NONE = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
ALL = 0; |
static int |
DIE_VALUE
DIE = 1; |
static int |
NONE_VALUE
NONE = 2; |
| Modifier and Type | Method and Description |
|---|---|
static Model.MagicItemResource.RecoveryType |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.MagicItemResource.RecoveryType> |
internalGetValueMap() |
static Model.MagicItemResource.RecoveryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.MagicItemResource.RecoveryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.MagicItemResource.RecoveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.MagicItemResource.RecoveryType ALL
ALL = 0;public static final Model.MagicItemResource.RecoveryType DIE
DIE = 1;public static final Model.MagicItemResource.RecoveryType NONE
NONE = 2;public static final Model.MagicItemResource.RecoveryType UNRECOGNIZED
public static final int ALL_VALUE
ALL = 0;public static final int DIE_VALUE
DIE = 1;public static final int NONE_VALUE
NONE = 2;public static Model.MagicItemResource.RecoveryType[] values()
for (Model.MagicItemResource.RecoveryType c : Model.MagicItemResource.RecoveryType.values()) System.out.println(c);
public static Model.MagicItemResource.RecoveryType 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.MagicItemResource.RecoveryType valueOf(int value)
forNumber(int) instead.public static Model.MagicItemResource.RecoveryType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.MagicItemResource.RecoveryType> internalGetValueMap()