public static final class Model.Feature extends com.google.protobuf.GeneratedMessageLite<Model.Feature,Model.Feature.Builder> implements Model.FeatureOrBuilder
TODO: Incorporate Resources and the effect of spending that resource in the same Feature?Protobuf type
ca.isupeene.charactersheet.cdk.Feature| Modifier and Type | Class and Description |
|---|---|
static class |
Model.Feature.Builder
TODO: Incorporate Resources and the effect of spending that resource in the same Feature?
|
static class |
Model.Feature.MulticlassCharacteristics
Protobuf enum
ca.isupeene.charactersheet.cdk.Feature.MulticlassCharacteristics |
static class |
Model.Feature.Type
Note that each of these types must be present in FEATURE_SOURCE_TYPES and the ConstraintMap.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
Model.AbilityScoreIncrease |
getAbilityScoreIncrease()
optional .ca.isupeene.charactersheet.cdk.AbilityScoreIncrease ability_score_increase = 12; |
Model.ArmorCategory |
getArmorProficiency()
optional .ca.isupeene.charactersheet.cdk.ArmorCategory armor_proficiency = 11; |
int |
getArmorProficiencyValue()
optional .ca.isupeene.charactersheet.cdk.ArmorCategory armor_proficiency = 11; |
static Model.Feature |
getDefaultInstance() |
java.lang.String |
getDisplayName()
optional string display_name = 3; |
com.google.protobuf.ByteString |
getDisplayNameBytes()
optional string display_name = 3; |
Model.EquipmentOption |
getEquipment()
optional .ca.isupeene.charactersheet.cdk.EquipmentOption equipment = 17; |
Model.ExpandedSpellList |
getExpandedSpellList()
optional .ca.isupeene.charactersheet.cdk.ExpandedSpellList expanded_spell_list = 16; |
Model.HitPoints |
getHitPoints()
optional .ca.isupeene.charactersheet.cdk.HitPoints hit_points = 20; |
int |
getInitiativeBonus()
optional int32 initiative_bonus = 22; |
int |
getLevel()
The level at which this feature becomes active.
|
Model.Feature.MulticlassCharacteristics |
getMulticlassCharacteristics()
optional .ca.isupeene.charactersheet.cdk.Feature.MulticlassCharacteristics multiclass_characteristics = 7; |
int |
getMulticlassCharacteristicsValue()
optional .ca.isupeene.charactersheet.cdk.Feature.MulticlassCharacteristics multiclass_characteristics = 7; |
Model.MultiFeatureGroup |
getMultiFeatureGroup()
optional .ca.isupeene.charactersheet.cdk.MultiFeatureGroup multi_feature_group = 24; |
Model.PassiveSkillBonus |
getPassiveSkillBonus()
optional .ca.isupeene.charactersheet.cdk.PassiveSkillBonus passive_skill_bonus = 21; |
Model.Resource |
getResource()
optional .ca.isupeene.charactersheet.cdk.Resource resource = 19; |
Model.SavingThrowProficiencyOption |
getSavingThrowProficiency()
optional .ca.isupeene.charactersheet.cdk.SavingThrowProficiencyOption saving_throw_proficiency = 9; |
int |
getSerializedSize() |
boolean |
getShowInFeatureList()
Whether to show this feature on the Features tab.
|
Model.SourceId |
getSourceId()
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 4; |
java.lang.String |
getSourceIdKey()
NOTE WELL ALL YE WHO ENTER HERE:
source_id_key must be unique within a given feature source (e.g.
|
com.google.protobuf.ByteString |
getSourceIdKeyBytes()
NOTE WELL ALL YE WHO ENTER HERE:
source_id_key must be unique within a given feature source (e.g.
|
int |
getSpeedBonus()
optional int32 speed_bonus = 18; |
Model.SpellcastingProgression |
getSpellcastingProgression()
optional .ca.isupeene.charactersheet.cdk.SpellcastingProgression spellcasting_progression = 13; |
int |
getSpellcastingProgressionValue()
optional .ca.isupeene.charactersheet.cdk.SpellcastingProgression spellcasting_progression = 13; |
Model.SpellsKnown |
getSpellsKnown()
Used for SPELLS_KNOWN and SPELLBOOK
|
Model.SpellsPrepared |
getSpellsPrepared()
optional .ca.isupeene.charactersheet.cdk.SpellsPrepared spells_prepared = 15; |
Model.TalentProficiencyOption |
getTalentProficiency()
optional .ca.isupeene.charactersheet.cdk.TalentProficiencyOption talent_proficiency = 8; |
Model.Feature.Type |
getType()
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1; |
int |
getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1; |
Model.UnarmoredDefense |
getUnarmoredDefense()
optional .ca.isupeene.charactersheet.cdk.UnarmoredDefense unarmored_defense = 23; |
Model.WeaponProficiency |
getWeaponProficiency()
optional .ca.isupeene.charactersheet.cdk.WeaponProficiency weapon_proficiency = 10; |
boolean |
hasAbilityScoreIncrease()
optional .ca.isupeene.charactersheet.cdk.AbilityScoreIncrease ability_score_increase = 12; |
boolean |
hasEquipment()
optional .ca.isupeene.charactersheet.cdk.EquipmentOption equipment = 17; |
boolean |
hasExpandedSpellList()
optional .ca.isupeene.charactersheet.cdk.ExpandedSpellList expanded_spell_list = 16; |
boolean |
hasHitPoints()
optional .ca.isupeene.charactersheet.cdk.HitPoints hit_points = 20; |
boolean |
hasMultiFeatureGroup()
optional .ca.isupeene.charactersheet.cdk.MultiFeatureGroup multi_feature_group = 24; |
boolean |
hasPassiveSkillBonus()
optional .ca.isupeene.charactersheet.cdk.PassiveSkillBonus passive_skill_bonus = 21; |
boolean |
hasResource()
optional .ca.isupeene.charactersheet.cdk.Resource resource = 19; |
boolean |
hasSavingThrowProficiency()
optional .ca.isupeene.charactersheet.cdk.SavingThrowProficiencyOption saving_throw_proficiency = 9; |
boolean |
hasSourceId()
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 4; |
boolean |
hasSpellsKnown()
Used for SPELLS_KNOWN and SPELLBOOK
|
boolean |
hasSpellsPrepared()
optional .ca.isupeene.charactersheet.cdk.SpellsPrepared spells_prepared = 15; |
boolean |
hasTalentProficiency()
optional .ca.isupeene.charactersheet.cdk.TalentProficiencyOption talent_proficiency = 8; |
boolean |
hasUnarmoredDefense()
optional .ca.isupeene.charactersheet.cdk.UnarmoredDefense unarmored_defense = 23; |
boolean |
hasWeaponProficiency()
optional .ca.isupeene.charactersheet.cdk.WeaponProficiency weapon_proficiency = 10; |
static Model.Feature.Builder |
newBuilder() |
static Model.Feature.Builder |
newBuilder(Model.Feature prototype) |
static Model.Feature |
parseDelimitedFrom(java.io.InputStream input) |
static Model.Feature |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Feature |
parseFrom(byte[] data) |
static Model.Feature |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Feature |
parseFrom(com.google.protobuf.ByteString data) |
static Model.Feature |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Feature |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.Feature |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Feature |
parseFrom(java.io.InputStream input) |
static Model.Feature |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.Feature> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TYPE_FIELD_NUMBER
public static final int SOURCE_ID_KEY_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER
public static final int SHOW_IN_FEATURE_LIST_FIELD_NUMBER
public static final int LEVEL_FIELD_NUMBER
public static final int MULTICLASS_CHARACTERISTICS_FIELD_NUMBER
public static final int TALENT_PROFICIENCY_FIELD_NUMBER
public static final int SAVING_THROW_PROFICIENCY_FIELD_NUMBER
public static final int WEAPON_PROFICIENCY_FIELD_NUMBER
public static final int ARMOR_PROFICIENCY_FIELD_NUMBER
public static final int ABILITY_SCORE_INCREASE_FIELD_NUMBER
public static final int SPELLCASTING_PROGRESSION_FIELD_NUMBER
public static final int SPELLS_KNOWN_FIELD_NUMBER
public static final int SPELLS_PREPARED_FIELD_NUMBER
public static final int EXPANDED_SPELL_LIST_FIELD_NUMBER
public static final int EQUIPMENT_FIELD_NUMBER
public static final int SPEED_BONUS_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static final int HIT_POINTS_FIELD_NUMBER
public static final int PASSIVE_SKILL_BONUS_FIELD_NUMBER
public static final int INITIATIVE_BONUS_FIELD_NUMBER
public static final int UNARMORED_DEFENSE_FIELD_NUMBER
public static final int MULTI_FEATURE_GROUP_FIELD_NUMBER
public int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getTypeValue in interface Model.FeatureOrBuilderpublic Model.Feature.Type getType()
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getType in interface Model.FeatureOrBuilderpublic java.lang.String getSourceIdKey()
NOTE WELL ALL YE WHO ENTER HERE: source_id_key must be unique within a given feature source (e.g. race, class, branching_feature, etc) There are no uniqueness constraints for display_name. source_id will be populated by the Rules when the feature is retrieved.
optional string source_id_key = 2;getSourceIdKey in interface Model.FeatureOrBuilderpublic com.google.protobuf.ByteString getSourceIdKeyBytes()
NOTE WELL ALL YE WHO ENTER HERE: source_id_key must be unique within a given feature source (e.g. race, class, branching_feature, etc) There are no uniqueness constraints for display_name. source_id will be populated by the Rules when the feature is retrieved.
optional string source_id_key = 2;getSourceIdKeyBytes in interface Model.FeatureOrBuilderpublic java.lang.String getDisplayName()
optional string display_name = 3;getDisplayName in interface Model.FeatureOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
optional string display_name = 3;getDisplayNameBytes in interface Model.FeatureOrBuilderpublic boolean hasSourceId()
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 4;hasSourceId in interface Model.FeatureOrBuilderpublic Model.SourceId getSourceId()
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 4;getSourceId in interface Model.FeatureOrBuilderpublic boolean getShowInFeatureList()
Whether to show this feature on the Features tab. Features like "Tides of Chaos" should set this to true, while features like "Base Walking Speed" should default to false.
optional bool show_in_feature_list = 5;getShowInFeatureList in interface Model.FeatureOrBuilderpublic int getLevel()
The level at which this feature becomes active. For features sourced from a Class, this is the level in that class. Otherwise, it is the overall character level.
optional int32 level = 6;getLevel in interface Model.FeatureOrBuilderpublic int getMulticlassCharacteristicsValue()
optional .ca.isupeene.charactersheet.cdk.Feature.MulticlassCharacteristics multiclass_characteristics = 7;getMulticlassCharacteristicsValue in interface Model.FeatureOrBuilderpublic Model.Feature.MulticlassCharacteristics getMulticlassCharacteristics()
optional .ca.isupeene.charactersheet.cdk.Feature.MulticlassCharacteristics multiclass_characteristics = 7;getMulticlassCharacteristics in interface Model.FeatureOrBuilderpublic boolean hasTalentProficiency()
optional .ca.isupeene.charactersheet.cdk.TalentProficiencyOption talent_proficiency = 8;hasTalentProficiency in interface Model.FeatureOrBuilderpublic Model.TalentProficiencyOption getTalentProficiency()
optional .ca.isupeene.charactersheet.cdk.TalentProficiencyOption talent_proficiency = 8;getTalentProficiency in interface Model.FeatureOrBuilderpublic boolean hasSavingThrowProficiency()
optional .ca.isupeene.charactersheet.cdk.SavingThrowProficiencyOption saving_throw_proficiency = 9;hasSavingThrowProficiency in interface Model.FeatureOrBuilderpublic Model.SavingThrowProficiencyOption getSavingThrowProficiency()
optional .ca.isupeene.charactersheet.cdk.SavingThrowProficiencyOption saving_throw_proficiency = 9;getSavingThrowProficiency in interface Model.FeatureOrBuilderpublic boolean hasWeaponProficiency()
optional .ca.isupeene.charactersheet.cdk.WeaponProficiency weapon_proficiency = 10;hasWeaponProficiency in interface Model.FeatureOrBuilderpublic Model.WeaponProficiency getWeaponProficiency()
optional .ca.isupeene.charactersheet.cdk.WeaponProficiency weapon_proficiency = 10;getWeaponProficiency in interface Model.FeatureOrBuilderpublic int getArmorProficiencyValue()
optional .ca.isupeene.charactersheet.cdk.ArmorCategory armor_proficiency = 11;getArmorProficiencyValue in interface Model.FeatureOrBuilderpublic Model.ArmorCategory getArmorProficiency()
optional .ca.isupeene.charactersheet.cdk.ArmorCategory armor_proficiency = 11;getArmorProficiency in interface Model.FeatureOrBuilderpublic boolean hasAbilityScoreIncrease()
optional .ca.isupeene.charactersheet.cdk.AbilityScoreIncrease ability_score_increase = 12;hasAbilityScoreIncrease in interface Model.FeatureOrBuilderpublic Model.AbilityScoreIncrease getAbilityScoreIncrease()
optional .ca.isupeene.charactersheet.cdk.AbilityScoreIncrease ability_score_increase = 12;getAbilityScoreIncrease in interface Model.FeatureOrBuilderpublic int getSpellcastingProgressionValue()
optional .ca.isupeene.charactersheet.cdk.SpellcastingProgression spellcasting_progression = 13;getSpellcastingProgressionValue in interface Model.FeatureOrBuilderpublic Model.SpellcastingProgression getSpellcastingProgression()
optional .ca.isupeene.charactersheet.cdk.SpellcastingProgression spellcasting_progression = 13;getSpellcastingProgression in interface Model.FeatureOrBuilderpublic boolean hasSpellsKnown()
Used for SPELLS_KNOWN and SPELLBOOK
optional .ca.isupeene.charactersheet.cdk.SpellsKnown spells_known = 14;hasSpellsKnown in interface Model.FeatureOrBuilderpublic Model.SpellsKnown getSpellsKnown()
Used for SPELLS_KNOWN and SPELLBOOK
optional .ca.isupeene.charactersheet.cdk.SpellsKnown spells_known = 14;getSpellsKnown in interface Model.FeatureOrBuilderpublic boolean hasSpellsPrepared()
optional .ca.isupeene.charactersheet.cdk.SpellsPrepared spells_prepared = 15;hasSpellsPrepared in interface Model.FeatureOrBuilderpublic Model.SpellsPrepared getSpellsPrepared()
optional .ca.isupeene.charactersheet.cdk.SpellsPrepared spells_prepared = 15;getSpellsPrepared in interface Model.FeatureOrBuilderpublic boolean hasExpandedSpellList()
optional .ca.isupeene.charactersheet.cdk.ExpandedSpellList expanded_spell_list = 16;hasExpandedSpellList in interface Model.FeatureOrBuilderpublic Model.ExpandedSpellList getExpandedSpellList()
optional .ca.isupeene.charactersheet.cdk.ExpandedSpellList expanded_spell_list = 16;getExpandedSpellList in interface Model.FeatureOrBuilderpublic boolean hasEquipment()
optional .ca.isupeene.charactersheet.cdk.EquipmentOption equipment = 17;hasEquipment in interface Model.FeatureOrBuilderpublic Model.EquipmentOption getEquipment()
optional .ca.isupeene.charactersheet.cdk.EquipmentOption equipment = 17;getEquipment in interface Model.FeatureOrBuilderpublic int getSpeedBonus()
optional int32 speed_bonus = 18;getSpeedBonus in interface Model.FeatureOrBuilderpublic boolean hasResource()
optional .ca.isupeene.charactersheet.cdk.Resource resource = 19;hasResource in interface Model.FeatureOrBuilderpublic Model.Resource getResource()
optional .ca.isupeene.charactersheet.cdk.Resource resource = 19;getResource in interface Model.FeatureOrBuilderpublic boolean hasHitPoints()
optional .ca.isupeene.charactersheet.cdk.HitPoints hit_points = 20;hasHitPoints in interface Model.FeatureOrBuilderpublic Model.HitPoints getHitPoints()
optional .ca.isupeene.charactersheet.cdk.HitPoints hit_points = 20;getHitPoints in interface Model.FeatureOrBuilderpublic boolean hasPassiveSkillBonus()
optional .ca.isupeene.charactersheet.cdk.PassiveSkillBonus passive_skill_bonus = 21;hasPassiveSkillBonus in interface Model.FeatureOrBuilderpublic Model.PassiveSkillBonus getPassiveSkillBonus()
optional .ca.isupeene.charactersheet.cdk.PassiveSkillBonus passive_skill_bonus = 21;getPassiveSkillBonus in interface Model.FeatureOrBuilderpublic int getInitiativeBonus()
optional int32 initiative_bonus = 22;getInitiativeBonus in interface Model.FeatureOrBuilderpublic boolean hasUnarmoredDefense()
optional .ca.isupeene.charactersheet.cdk.UnarmoredDefense unarmored_defense = 23;hasUnarmoredDefense in interface Model.FeatureOrBuilderpublic Model.UnarmoredDefense getUnarmoredDefense()
optional .ca.isupeene.charactersheet.cdk.UnarmoredDefense unarmored_defense = 23;getUnarmoredDefense in interface Model.FeatureOrBuilderpublic boolean hasMultiFeatureGroup()
optional .ca.isupeene.charactersheet.cdk.MultiFeatureGroup multi_feature_group = 24;hasMultiFeatureGroup in interface Model.FeatureOrBuilderpublic Model.MultiFeatureGroup getMultiFeatureGroup()
optional .ca.isupeene.charactersheet.cdk.MultiFeatureGroup multi_feature_group = 24;getMultiFeatureGroup in interface Model.FeatureOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static Model.Feature parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Feature parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Feature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Feature parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Feature parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Feature.Builder newBuilder()
public static Model.Feature.Builder newBuilder(Model.Feature prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Model.Feature,Model.Feature.Builder>public static Model.Feature getDefaultInstance()
public static com.google.protobuf.Parser<Model.Feature> parser()