public static enum Model.EquipmentSource.Type extends java.lang.Enum<Model.EquipmentSource.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.EquipmentSource.Type| Enum Constant and Description |
|---|
DESCRIPTIVE
The equipment came from a source specified by the player.
|
FEATURE
The equipment came from an EQUIPMENT feature, such as starting equipment from class
or background, or from the Ritual Caster feat.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTIVE_VALUE
The equipment came from a source specified by the player.
|
static int |
FEATURE_VALUE
The equipment came from an EQUIPMENT feature, such as starting equipment from class
or background, or from the Ritual Caster feat.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.EquipmentSource.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.EquipmentSource.Type> |
internalGetValueMap() |
static Model.EquipmentSource.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.EquipmentSource.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.EquipmentSource.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.EquipmentSource.Type DESCRIPTIVE
The equipment came from a source specified by the player.
DESCRIPTIVE = 0;public static final Model.EquipmentSource.Type FEATURE
The equipment came from an EQUIPMENT feature, such as starting equipment from class or background, or from the Ritual Caster feat.
FEATURE = 1;public static final Model.EquipmentSource.Type UNRECOGNIZED
public static final int DESCRIPTIVE_VALUE
The equipment came from a source specified by the player.
DESCRIPTIVE = 0;public static final int FEATURE_VALUE
The equipment came from an EQUIPMENT feature, such as starting equipment from class or background, or from the Ritual Caster feat.
FEATURE = 1;public static Model.EquipmentSource.Type[] values()
for (Model.EquipmentSource.Type c : Model.EquipmentSource.Type.values()) System.out.println(c);
public static Model.EquipmentSource.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.EquipmentSource.Type valueOf(int value)
forNumber(int) instead.public static Model.EquipmentSource.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.EquipmentSource.Type> internalGetValueMap()