public static enum Model.Feature.Type extends java.lang.Enum<Model.Feature.Type> implements com.google.protobuf.Internal.EnumLite
Note that each of these types must be present in FEATURE_SOURCE_TYPES and the ConstraintMap.Protobuf enum
ca.isupeene.charactersheet.cdk.Feature.Type| Enum Constant and Description |
|---|
ABILITY_SCORE_INCREASE
An ability score increase, such as from racial traits.
|
ABILITY_SCORE_INCREASE_OR_FEAT
An ability score increase or feat, such as when a character reaches level 4.
|
ARMOR_PROFICIENCY
Proficiency with a certain type of armor, such as from class or race features.
|
BRANCHING_FEATURE
Allow the character to select a BranchingFeatureOption, such as a Fighting Style or a Martial Archetype
|
EQUIPMENT
Options for choosing starting equipment, e.g.
|
EXPANDED_SPELL_LIST
Expansions to the class's spell list, as for Warlocks.
|
FEAT
A feat, such as when variant human is selected.
|
HIT_POINTS
Provides either a fixed number of hit points, or a certain number of hit points per
class- or character-level.
|
INITIATIVE_BONUS
A bonus to initiative, such as granted by the Alert feat.
|
MULTI_FEATURE_OPTION
Allow the character to select one or more options associated with the feature.
|
OTHER
The character gets some other feature which is not encoded, but merely expressed in text.
|
PASSIVE_SKILL_BONUS
A bonus to passive checks for a particular skill, such as granted by the Observant feat.
|
RESOURCE
Consumable resources that regenerate after a short or long rest.
|
SAVING_THROW_PROFICIENCY
Proficiency with specific saving throws, such as from class features or the Resilient feat.
|
SHIELD_PROFICIENCY
Proficiency with shields.
|
SPEED
Walking speed increases
|
SPELLBOOK
Spellbook feature for wizards / ritual casters.
|
SPELLCASTING_PROGRESSION
Progression of spell slots, granted by spellcasting classes or class archetypes.
|
SPELLS_KNOWN
Spells known, such as for Bard or Warlock, as well as cantrips for all spellcasting classes.
|
SPELLS_PREPARED
Spells that can be prepared, such as for Clerics and Druids.
|
TALENT_PROFICIENCY
Proficiency with skills, tools or languages, such as from class, race, or background features.
|
UNARMORED_DEFENSE
A bonus to AC while not wearing armor, such as given to Monks and Barbarians.
|
UNRECOGNIZED |
WEAPON_PROFICIENCY
Proficiency with certain types of weapons, such as from class or race features.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ABILITY_SCORE_INCREASE_OR_FEAT_VALUE
An ability score increase or feat, such as when a character reaches level 4.
|
static int |
ABILITY_SCORE_INCREASE_VALUE
An ability score increase, such as from racial traits.
|
static int |
ARMOR_PROFICIENCY_VALUE
Proficiency with a certain type of armor, such as from class or race features.
|
static int |
BRANCHING_FEATURE_VALUE
Allow the character to select a BranchingFeatureOption, such as a Fighting Style or a Martial Archetype
|
static int |
EQUIPMENT_VALUE
Options for choosing starting equipment, e.g.
|
static int |
EXPANDED_SPELL_LIST_VALUE
Expansions to the class's spell list, as for Warlocks.
|
static int |
FEAT_VALUE
A feat, such as when variant human is selected.
|
static int |
HIT_POINTS_VALUE
Provides either a fixed number of hit points, or a certain number of hit points per
class- or character-level.
|
static int |
INITIATIVE_BONUS_VALUE
A bonus to initiative, such as granted by the Alert feat.
|
static int |
MULTI_FEATURE_OPTION_VALUE
Allow the character to select one or more options associated with the feature.
|
static int |
OTHER_VALUE
The character gets some other feature which is not encoded, but merely expressed in text.
|
static int |
PASSIVE_SKILL_BONUS_VALUE
A bonus to passive checks for a particular skill, such as granted by the Observant feat.
|
static int |
RESOURCE_VALUE
Consumable resources that regenerate after a short or long rest.
|
static int |
SAVING_THROW_PROFICIENCY_VALUE
Proficiency with specific saving throws, such as from class features or the Resilient feat.
|
static int |
SHIELD_PROFICIENCY_VALUE
Proficiency with shields.
|
static int |
SPEED_VALUE
Walking speed increases
|
static int |
SPELLBOOK_VALUE
Spellbook feature for wizards / ritual casters.
|
static int |
SPELLCASTING_PROGRESSION_VALUE
Progression of spell slots, granted by spellcasting classes or class archetypes.
|
static int |
SPELLS_KNOWN_VALUE
Spells known, such as for Bard or Warlock, as well as cantrips for all spellcasting classes.
|
static int |
SPELLS_PREPARED_VALUE
Spells that can be prepared, such as for Clerics and Druids.
|
static int |
TALENT_PROFICIENCY_VALUE
Proficiency with skills, tools or languages, such as from class, race, or background features.
|
static int |
UNARMORED_DEFENSE_VALUE
A bonus to AC while not wearing armor, such as given to Monks and Barbarians.
|
static int |
WEAPON_PROFICIENCY_VALUE
Proficiency with certain types of weapons, such as from class or race features.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.Feature.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.Feature.Type> |
internalGetValueMap() |
static Model.Feature.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.Feature.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.Feature.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.Feature.Type OTHER
The character gets some other feature which is not encoded, but merely expressed in text.
OTHER = 0;public static final Model.Feature.Type BRANCHING_FEATURE
Allow the character to select a BranchingFeatureOption, such as a Fighting Style or a Martial Archetype
BRANCHING_FEATURE = 1;public static final Model.Feature.Type TALENT_PROFICIENCY
Proficiency with skills, tools or languages, such as from class, race, or background features.
TALENT_PROFICIENCY = 2;public static final Model.Feature.Type SAVING_THROW_PROFICIENCY
Proficiency with specific saving throws, such as from class features or the Resilient feat.
SAVING_THROW_PROFICIENCY = 3;public static final Model.Feature.Type WEAPON_PROFICIENCY
Proficiency with certain types of weapons, such as from class or race features.
WEAPON_PROFICIENCY = 4;public static final Model.Feature.Type ARMOR_PROFICIENCY
Proficiency with a certain type of armor, such as from class or race features.
ARMOR_PROFICIENCY = 5;public static final Model.Feature.Type SHIELD_PROFICIENCY
Proficiency with shields.
SHIELD_PROFICIENCY = 6;public static final Model.Feature.Type ABILITY_SCORE_INCREASE
An ability score increase, such as from racial traits.
ABILITY_SCORE_INCREASE = 7;public static final Model.Feature.Type FEAT
A feat, such as when variant human is selected.
FEAT = 8;public static final Model.Feature.Type ABILITY_SCORE_INCREASE_OR_FEAT
An ability score increase or feat, such as when a character reaches level 4.
ABILITY_SCORE_INCREASE_OR_FEAT = 9;public static final Model.Feature.Type SPELLCASTING_PROGRESSION
Progression of spell slots, granted by spellcasting classes or class archetypes.
SPELLCASTING_PROGRESSION = 10;public static final Model.Feature.Type SPELLS_KNOWN
Spells known, such as for Bard or Warlock, as well as cantrips for all spellcasting classes.
SPELLS_KNOWN = 11;public static final Model.Feature.Type SPELLBOOK
Spellbook feature for wizards / ritual casters. This feature MUST be accompanied by a totally constrained EQUIPMENT feature that grants them a 'spellbook'. TODO: Rename to SPELLBOOK_SPELLS, add "SPELLBOOK" feature type for the ability to add spells you find on your adventure.
SPELLBOOK = 12;public static final Model.Feature.Type SPELLS_PREPARED
Spells that can be prepared, such as for Clerics and Druids.
SPELLS_PREPARED = 13;public static final Model.Feature.Type EXPANDED_SPELL_LIST
Expansions to the class's spell list, as for Warlocks.
EXPANDED_SPELL_LIST = 14;public static final Model.Feature.Type EQUIPMENT
Options for choosing starting equipment, e.g. "(a) a martial weapon and a shield or (b) two martial weapons"
EQUIPMENT = 15;public static final Model.Feature.Type SPEED
Walking speed increases
SPEED = 16;public static final Model.Feature.Type RESOURCE
Consumable resources that regenerate after a short or long rest.
RESOURCE = 17;public static final Model.Feature.Type HIT_POINTS
Provides either a fixed number of hit points, or a certain number of hit points per class- or character-level.
HIT_POINTS = 18;public static final Model.Feature.Type PASSIVE_SKILL_BONUS
A bonus to passive checks for a particular skill, such as granted by the Observant feat.
PASSIVE_SKILL_BONUS = 19;public static final Model.Feature.Type INITIATIVE_BONUS
A bonus to initiative, such as granted by the Alert feat.
INITIATIVE_BONUS = 20;public static final Model.Feature.Type UNARMORED_DEFENSE
A bonus to AC while not wearing armor, such as given to Monks and Barbarians.
UNARMORED_DEFENSE = 21;public static final Model.Feature.Type MULTI_FEATURE_OPTION
Allow the character to select one or more options associated with the feature. Includes the Fighter's Maneuvers, the Monk's Disciplines, the Sorcerer's Wild Magic, and the Warlock's Invocations
MULTI_FEATURE_OPTION = 22;public static final Model.Feature.Type UNRECOGNIZED
public static final int OTHER_VALUE
The character gets some other feature which is not encoded, but merely expressed in text.
OTHER = 0;public static final int BRANCHING_FEATURE_VALUE
Allow the character to select a BranchingFeatureOption, such as a Fighting Style or a Martial Archetype
BRANCHING_FEATURE = 1;public static final int TALENT_PROFICIENCY_VALUE
Proficiency with skills, tools or languages, such as from class, race, or background features.
TALENT_PROFICIENCY = 2;public static final int SAVING_THROW_PROFICIENCY_VALUE
Proficiency with specific saving throws, such as from class features or the Resilient feat.
SAVING_THROW_PROFICIENCY = 3;public static final int WEAPON_PROFICIENCY_VALUE
Proficiency with certain types of weapons, such as from class or race features.
WEAPON_PROFICIENCY = 4;public static final int ARMOR_PROFICIENCY_VALUE
Proficiency with a certain type of armor, such as from class or race features.
ARMOR_PROFICIENCY = 5;public static final int SHIELD_PROFICIENCY_VALUE
Proficiency with shields.
SHIELD_PROFICIENCY = 6;public static final int ABILITY_SCORE_INCREASE_VALUE
An ability score increase, such as from racial traits.
ABILITY_SCORE_INCREASE = 7;public static final int FEAT_VALUE
A feat, such as when variant human is selected.
FEAT = 8;public static final int ABILITY_SCORE_INCREASE_OR_FEAT_VALUE
An ability score increase or feat, such as when a character reaches level 4.
ABILITY_SCORE_INCREASE_OR_FEAT = 9;public static final int SPELLCASTING_PROGRESSION_VALUE
Progression of spell slots, granted by spellcasting classes or class archetypes.
SPELLCASTING_PROGRESSION = 10;public static final int SPELLS_KNOWN_VALUE
Spells known, such as for Bard or Warlock, as well as cantrips for all spellcasting classes.
SPELLS_KNOWN = 11;public static final int SPELLBOOK_VALUE
Spellbook feature for wizards / ritual casters. This feature MUST be accompanied by a totally constrained EQUIPMENT feature that grants them a 'spellbook'. TODO: Rename to SPELLBOOK_SPELLS, add "SPELLBOOK" feature type for the ability to add spells you find on your adventure.
SPELLBOOK = 12;public static final int SPELLS_PREPARED_VALUE
Spells that can be prepared, such as for Clerics and Druids.
SPELLS_PREPARED = 13;public static final int EXPANDED_SPELL_LIST_VALUE
Expansions to the class's spell list, as for Warlocks.
EXPANDED_SPELL_LIST = 14;public static final int EQUIPMENT_VALUE
Options for choosing starting equipment, e.g. "(a) a martial weapon and a shield or (b) two martial weapons"
EQUIPMENT = 15;public static final int SPEED_VALUE
Walking speed increases
SPEED = 16;public static final int RESOURCE_VALUE
Consumable resources that regenerate after a short or long rest.
RESOURCE = 17;public static final int HIT_POINTS_VALUE
Provides either a fixed number of hit points, or a certain number of hit points per class- or character-level.
HIT_POINTS = 18;public static final int PASSIVE_SKILL_BONUS_VALUE
A bonus to passive checks for a particular skill, such as granted by the Observant feat.
PASSIVE_SKILL_BONUS = 19;public static final int INITIATIVE_BONUS_VALUE
A bonus to initiative, such as granted by the Alert feat.
INITIATIVE_BONUS = 20;public static final int UNARMORED_DEFENSE_VALUE
A bonus to AC while not wearing armor, such as given to Monks and Barbarians.
UNARMORED_DEFENSE = 21;public static final int MULTI_FEATURE_OPTION_VALUE
Allow the character to select one or more options associated with the feature. Includes the Fighter's Maneuvers, the Monk's Disciplines, the Sorcerer's Wild Magic, and the Warlock's Invocations
MULTI_FEATURE_OPTION = 22;public static Model.Feature.Type[] values()
for (Model.Feature.Type c : Model.Feature.Type.values()) System.out.println(c);
public static Model.Feature.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.Feature.Type valueOf(int value)
forNumber(int) instead.public static Model.Feature.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.Feature.Type> internalGetValueMap()