public static enum Model.Resource.Quantity.Type extends java.lang.Enum<Model.Resource.Quantity.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.Resource.Quantity.Type| Enum Constant and Description |
|---|
ABILITY_SCORE
The resource can be used a number of times equal to the ability score modifier
specified by 'ability' + 'extra_uses'
|
CLASS_LEVEL_EXACT
The resource can be used a number of times equal to the character's level in the source class
Requires that the feature is ultimately sourced from a class.
|
CLASS_LEVEL_PROGRESSION
level_progression.segment.start_level refers to the character's level in the source class
Requires that the feature is ultimately sourced from a class.
|
TOTAL_LEVEL_PROGRESSION
level_progression.start_level refers to the character's total level
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ABILITY_SCORE_VALUE
The resource can be used a number of times equal to the ability score modifier
specified by 'ability' + 'extra_uses'
|
static int |
CLASS_LEVEL_EXACT_VALUE
The resource can be used a number of times equal to the character's level in the source class
Requires that the feature is ultimately sourced from a class.
|
static int |
CLASS_LEVEL_PROGRESSION_VALUE
level_progression.segment.start_level refers to the character's level in the source class
Requires that the feature is ultimately sourced from a class.
|
static int |
TOTAL_LEVEL_PROGRESSION_VALUE
level_progression.start_level refers to the character's total level
|
| Modifier and Type | Method and Description |
|---|---|
static Model.Resource.Quantity.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.Resource.Quantity.Type> |
internalGetValueMap() |
static Model.Resource.Quantity.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.Resource.Quantity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.Resource.Quantity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.Resource.Quantity.Type TOTAL_LEVEL_PROGRESSION
level_progression.start_level refers to the character's total level
TOTAL_LEVEL_PROGRESSION = 0;public static final Model.Resource.Quantity.Type CLASS_LEVEL_PROGRESSION
level_progression.segment.start_level refers to the character's level in the source class Requires that the feature is ultimately sourced from a class.
CLASS_LEVEL_PROGRESSION = 1;public static final Model.Resource.Quantity.Type ABILITY_SCORE
The resource can be used a number of times equal to the ability score modifier specified by 'ability' + 'extra_uses'
ABILITY_SCORE = 2;public static final Model.Resource.Quantity.Type CLASS_LEVEL_EXACT
The resource can be used a number of times equal to the character's level in the source class Requires that the feature is ultimately sourced from a class.
CLASS_LEVEL_EXACT = 3;public static final Model.Resource.Quantity.Type UNRECOGNIZED
public static final int TOTAL_LEVEL_PROGRESSION_VALUE
level_progression.start_level refers to the character's total level
TOTAL_LEVEL_PROGRESSION = 0;public static final int CLASS_LEVEL_PROGRESSION_VALUE
level_progression.segment.start_level refers to the character's level in the source class Requires that the feature is ultimately sourced from a class.
CLASS_LEVEL_PROGRESSION = 1;public static final int ABILITY_SCORE_VALUE
The resource can be used a number of times equal to the ability score modifier specified by 'ability' + 'extra_uses'
ABILITY_SCORE = 2;public static final int CLASS_LEVEL_EXACT_VALUE
The resource can be used a number of times equal to the character's level in the source class Requires that the feature is ultimately sourced from a class.
CLASS_LEVEL_EXACT = 3;public static Model.Resource.Quantity.Type[] values()
for (Model.Resource.Quantity.Type c : Model.Resource.Quantity.Type.values()) System.out.println(c);
public static Model.Resource.Quantity.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.Resource.Quantity.Type valueOf(int value)
forNumber(int) instead.public static Model.Resource.Quantity.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.Resource.Quantity.Type> internalGetValueMap()