public static enum Model.SpellsPrepared.Type extends java.lang.Enum<Model.SpellsPrepared.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.SpellsPrepared.Type| Enum Constant and Description |
|---|
SPECIFIC
The specified spells are always prepared.
|
SPELL_LIST
The character may prepare a number of spells defined by 'quantity' using the ability
score modifier for 'ability'.
|
SPELLBOOK
The character may prepare a number of spells defined by 'quantity' using the ability
score modifier for 'ability'.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SPECIFIC_VALUE
The specified spells are always prepared.
|
static int |
SPELL_LIST_VALUE
The character may prepare a number of spells defined by 'quantity' using the ability
score modifier for 'ability'.
|
static int |
SPELLBOOK_VALUE
The character may prepare a number of spells defined by 'quantity' using the ability
score modifier for 'ability'.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.SpellsPrepared.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsPrepared.Type> |
internalGetValueMap() |
static Model.SpellsPrepared.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.SpellsPrepared.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.SpellsPrepared.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.SpellsPrepared.Type SPELL_LIST
The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from 'spell_list'
SPELL_LIST = 0;public static final Model.SpellsPrepared.Type SPELLBOOK
The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from the character's spellbook. The character may cast these spells as if they belonged to 'spell_list'
SPELLBOOK = 1;public static final Model.SpellsPrepared.Type SPECIFIC
The specified spells are always prepared. The character may cast them as if they belonged to 'spell_list' TODO: Consider using SPELLS_KNOWN for this. Because that's literally what it is.
SPECIFIC = 2;public static final Model.SpellsPrepared.Type UNRECOGNIZED
public static final int SPELL_LIST_VALUE
The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from 'spell_list'
SPELL_LIST = 0;public static final int SPELLBOOK_VALUE
The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from the character's spellbook. The character may cast these spells as if they belonged to 'spell_list'
SPELLBOOK = 1;public static final int SPECIFIC_VALUE
The specified spells are always prepared. The character may cast them as if they belonged to 'spell_list' TODO: Consider using SPELLS_KNOWN for this. Because that's literally what it is.
SPECIFIC = 2;public static Model.SpellsPrepared.Type[] values()
for (Model.SpellsPrepared.Type c : Model.SpellsPrepared.Type.values()) System.out.println(c);
public static Model.SpellsPrepared.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.SpellsPrepared.Type valueOf(int value)
forNumber(int) instead.public static Model.SpellsPrepared.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsPrepared.Type> internalGetValueMap()