public static enum Model.WeaponCategory extends java.lang.Enum<Model.WeaponCategory> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.WeaponCategory| Enum Constant and Description |
|---|
UNRECOGNIZED |
WEAPON_CATEGORY_IMPROVISED
WEAPON_CATEGORY_IMPROVISED = 2; |
WEAPON_CATEGORY_MARTIAL
WEAPON_CATEGORY_MARTIAL = 1; |
WEAPON_CATEGORY_SIMPLE
WEAPON_CATEGORY_SIMPLE = 0; |
WEAPON_CATEGORY_UNARMED
WEAPON_CATEGORY_UNARMED = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
WEAPON_CATEGORY_IMPROVISED_VALUE
WEAPON_CATEGORY_IMPROVISED = 2; |
static int |
WEAPON_CATEGORY_MARTIAL_VALUE
WEAPON_CATEGORY_MARTIAL = 1; |
static int |
WEAPON_CATEGORY_SIMPLE_VALUE
WEAPON_CATEGORY_SIMPLE = 0; |
static int |
WEAPON_CATEGORY_UNARMED_VALUE
WEAPON_CATEGORY_UNARMED = 3; |
| Modifier and Type | Method and Description |
|---|---|
static Model.WeaponCategory |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.WeaponCategory> |
internalGetValueMap() |
static Model.WeaponCategory |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.WeaponCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.WeaponCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.WeaponCategory WEAPON_CATEGORY_SIMPLE
WEAPON_CATEGORY_SIMPLE = 0;public static final Model.WeaponCategory WEAPON_CATEGORY_MARTIAL
WEAPON_CATEGORY_MARTIAL = 1;public static final Model.WeaponCategory WEAPON_CATEGORY_IMPROVISED
WEAPON_CATEGORY_IMPROVISED = 2;public static final Model.WeaponCategory WEAPON_CATEGORY_UNARMED
WEAPON_CATEGORY_UNARMED = 3;public static final Model.WeaponCategory UNRECOGNIZED
public static final int WEAPON_CATEGORY_SIMPLE_VALUE
WEAPON_CATEGORY_SIMPLE = 0;public static final int WEAPON_CATEGORY_MARTIAL_VALUE
WEAPON_CATEGORY_MARTIAL = 1;public static final int WEAPON_CATEGORY_IMPROVISED_VALUE
WEAPON_CATEGORY_IMPROVISED = 2;public static final int WEAPON_CATEGORY_UNARMED_VALUE
WEAPON_CATEGORY_UNARMED = 3;public static Model.WeaponCategory[] values()
for (Model.WeaponCategory c : Model.WeaponCategory.values()) System.out.println(c);
public static Model.WeaponCategory 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.WeaponCategory valueOf(int value)
forNumber(int) instead.public static Model.WeaponCategory forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.WeaponCategory> internalGetValueMap()