public static enum Model.SpellsKnown.LevelConstraint.Type extends java.lang.Enum<Model.SpellsKnown.LevelConstraint.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint.Type| Enum Constant and Description |
|---|
SPECIFIC_LEVEL
Only the specified level is allowed.
|
SPELL_SLOTS
Levels for which the character would have spell slots based only on their levels in
the class from which this feature is sourced.
|
SPELL_SLOTS_AND_CANTRIPS
Like SPELL_SLOTS, but cantrips are also allowed.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SPECIFIC_LEVEL_VALUE
Only the specified level is allowed.
|
static int |
SPELL_SLOTS_AND_CANTRIPS_VALUE
Like SPELL_SLOTS, but cantrips are also allowed.
|
static int |
SPELL_SLOTS_VALUE
Levels for which the character would have spell slots based only on their levels in
the class from which this feature is sourced.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.SpellsKnown.LevelConstraint.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsKnown.LevelConstraint.Type> |
internalGetValueMap() |
static Model.SpellsKnown.LevelConstraint.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.SpellsKnown.LevelConstraint.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.SpellsKnown.LevelConstraint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.SpellsKnown.LevelConstraint.Type SPELL_SLOTS
Levels for which the character would have spell slots based only on their levels in the class from which this feature is sourced. E.g. Bard or Sorcerer spells known
SPELL_SLOTS = 0;public static final Model.SpellsKnown.LevelConstraint.Type SPELL_SLOTS_AND_CANTRIPS
Like SPELL_SLOTS, but cantrips are also allowed. E.g. Bard's 'Magical Secrets'
SPELL_SLOTS_AND_CANTRIPS = 1;public static final Model.SpellsKnown.LevelConstraint.Type SPECIFIC_LEVEL
Only the specified level is allowed.
SPECIFIC_LEVEL = 2;public static final Model.SpellsKnown.LevelConstraint.Type UNRECOGNIZED
public static final int SPELL_SLOTS_VALUE
Levels for which the character would have spell slots based only on their levels in the class from which this feature is sourced. E.g. Bard or Sorcerer spells known
SPELL_SLOTS = 0;public static final int SPELL_SLOTS_AND_CANTRIPS_VALUE
Like SPELL_SLOTS, but cantrips are also allowed. E.g. Bard's 'Magical Secrets'
SPELL_SLOTS_AND_CANTRIPS = 1;public static final int SPECIFIC_LEVEL_VALUE
Only the specified level is allowed.
SPECIFIC_LEVEL = 2;public static Model.SpellsKnown.LevelConstraint.Type[] values()
for (Model.SpellsKnown.LevelConstraint.Type c : Model.SpellsKnown.LevelConstraint.Type.values()) System.out.println(c);
public static Model.SpellsKnown.LevelConstraint.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.LevelConstraint.Type valueOf(int value)
forNumber(int) instead.public static Model.SpellsKnown.LevelConstraint.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.SpellsKnown.LevelConstraint.Type> internalGetValueMap()