public static enum Model.SpellsKnown.Type extends java.lang.Enum<Model.SpellsKnown.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.SpellsKnown.Type| Enum Constant and Description |
|---|
ANY
'number' spells from any spell list may be selected.
|
SPECIFIC
The specified spells are known.
|
SPELL_LIST
'number' of spells from 'spell_list' may be selected.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_VALUE
'number' spells from any spell list may be selected.
|
static int |
SPECIFIC_VALUE
The specified spells are known.
|
static int |
SPELL_LIST_VALUE
'number' of spells from 'spell_list' may be selected.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.SpellsKnown.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsKnown.Type> |
internalGetValueMap() |
static Model.SpellsKnown.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.SpellsKnown.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.SpellsKnown.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.SpellsKnown.Type SPELL_LIST
'number' of spells from 'spell_list' may be selected.
SPELL_LIST = 0;public static final Model.SpellsKnown.Type SPECIFIC
The specified spells are known. The character may cast them as if they belonged to 'spell_list'
SPECIFIC = 1;public static final Model.SpellsKnown.Type ANY
'number' spells from any spell list may be selected. The character may cast them as if they belonged to 'spell_list' (e.g. Bard's Magical Secrets feature).
ANY = 2;public static final Model.SpellsKnown.Type UNRECOGNIZED
public static final int SPELL_LIST_VALUE
'number' of spells from 'spell_list' may be selected.
SPELL_LIST = 0;public static final int SPECIFIC_VALUE
The specified spells are known. The character may cast them as if they belonged to 'spell_list'
SPECIFIC = 1;public static final int ANY_VALUE
'number' spells from any spell list may be selected. The character may cast them as if they belonged to 'spell_list' (e.g. Bard's Magical Secrets feature).
ANY = 2;public static Model.SpellsKnown.Type[] values()
for (Model.SpellsKnown.Type c : Model.SpellsKnown.Type.values()) System.out.println(c);
public static Model.SpellsKnown.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.SpellsKnown.Type valueOf(int value)
forNumber(int) instead.public static Model.SpellsKnown.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsKnown.Type> internalGetValueMap()