public static final class Model.WeaponInfo extends com.google.protobuf.GeneratedMessageLite<Model.WeaponInfo,Model.WeaponInfo.Builder> implements Model.WeaponInfoOrBuilder
TODO: Allow custom WeaponInfo for magic weapons?Protobuf type
ca.isupeene.charactersheet.cdk.WeaponInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Model.WeaponInfo.Builder
TODO: Allow custom WeaponInfo for magic weapons?
|
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 | Field and Description |
|---|---|
static int |
AMMUNITION_FIELD_NUMBER |
static int |
CATEGORY_FIELD_NUMBER |
static int |
DAMAGE_FIELD_NUMBER |
static int |
DAMAGE_TYPE_FIELD_NUMBER |
static int |
FINESSE_FIELD_NUMBER |
static int |
HEAVY_FIELD_NUMBER |
static int |
LIGHT_FIELD_NUMBER |
static int |
LOADING_FIELD_NUMBER |
static int |
LONG_RANGE_FIELD_NUMBER |
static int |
RANGE_CLASS_FIELD_NUMBER |
static int |
REACH_FIELD_NUMBER |
static int |
SPECIAL_DESCRIPTION_FIELD_NUMBER |
static int |
SPECIAL_FIELD_NUMBER |
static int |
STANDARD_RANGE_FIELD_NUMBER |
static int |
THROWN_FIELD_NUMBER |
static int |
TWO_HANDED_FIELD_NUMBER |
static int |
VERSATILE_DAMAGE_FIELD_NUMBER |
static int |
VERSATILE_FIELD_NUMBER |
| 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) |
boolean |
getAmmunition()
optional bool ammunition = 5; |
Model.WeaponCategory |
getCategory()
optional .ca.isupeene.charactersheet.cdk.WeaponCategory category = 1; |
int |
getCategoryValue()
optional .ca.isupeene.charactersheet.cdk.WeaponCategory category = 1; |
java.lang.String |
getDamage()
TODO: Consider making this a separate class instead of a string
|
com.google.protobuf.ByteString |
getDamageBytes()
TODO: Consider making this a separate class instead of a string
|
Model.DamageType |
getDamageType()
optional .ca.isupeene.charactersheet.cdk.DamageType damage_type = 4; |
int |
getDamageTypeValue()
optional .ca.isupeene.charactersheet.cdk.DamageType damage_type = 4; |
static Model.WeaponInfo |
getDefaultInstance() |
boolean |
getFinesse()
optional bool finesse = 6; |
boolean |
getHeavy()
optional bool heavy = 7; |
boolean |
getLight()
optional bool light = 8; |
boolean |
getLoading()
optional bool loading = 9; |
int |
getLongRange()
optional int32 long_range = 16; |
Model.WeaponRangeClass |
getRangeClass()
optional .ca.isupeene.charactersheet.cdk.WeaponRangeClass range_class = 2; |
int |
getRangeClassValue()
optional .ca.isupeene.charactersheet.cdk.WeaponRangeClass range_class = 2; |
boolean |
getReach()
optional bool reach = 10; |
int |
getSerializedSize() |
boolean |
getSpecial()
optional bool special = 11; |
java.lang.String |
getSpecialDescription()
optional string special_description = 18; |
com.google.protobuf.ByteString |
getSpecialDescriptionBytes()
optional string special_description = 18; |
int |
getStandardRange()
optional int32 standard_range = 15; |
boolean |
getThrown()
optional bool thrown = 12; |
boolean |
getTwoHanded()
optional bool two_handed = 13; |
boolean |
getVersatile()
optional bool versatile = 14; |
java.lang.String |
getVersatileDamage()
optional string versatile_damage = 17; |
com.google.protobuf.ByteString |
getVersatileDamageBytes()
optional string versatile_damage = 17; |
static Model.WeaponInfo.Builder |
newBuilder() |
static Model.WeaponInfo.Builder |
newBuilder(Model.WeaponInfo prototype) |
static Model.WeaponInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Model.WeaponInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.WeaponInfo |
parseFrom(byte[] data) |
static Model.WeaponInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.WeaponInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Model.WeaponInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.WeaponInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.WeaponInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.WeaponInfo |
parseFrom(java.io.InputStream input) |
static Model.WeaponInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.WeaponInfo> |
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 CATEGORY_FIELD_NUMBER
public static final int RANGE_CLASS_FIELD_NUMBER
public static final int DAMAGE_FIELD_NUMBER
public static final int DAMAGE_TYPE_FIELD_NUMBER
public static final int AMMUNITION_FIELD_NUMBER
public static final int FINESSE_FIELD_NUMBER
public static final int HEAVY_FIELD_NUMBER
public static final int LIGHT_FIELD_NUMBER
public static final int LOADING_FIELD_NUMBER
public static final int REACH_FIELD_NUMBER
public static final int SPECIAL_FIELD_NUMBER
public static final int THROWN_FIELD_NUMBER
public static final int TWO_HANDED_FIELD_NUMBER
public static final int VERSATILE_FIELD_NUMBER
public static final int STANDARD_RANGE_FIELD_NUMBER
public static final int LONG_RANGE_FIELD_NUMBER
public static final int VERSATILE_DAMAGE_FIELD_NUMBER
public static final int SPECIAL_DESCRIPTION_FIELD_NUMBER
public int getCategoryValue()
optional .ca.isupeene.charactersheet.cdk.WeaponCategory category = 1;getCategoryValue in interface Model.WeaponInfoOrBuilderpublic Model.WeaponCategory getCategory()
optional .ca.isupeene.charactersheet.cdk.WeaponCategory category = 1;getCategory in interface Model.WeaponInfoOrBuilderpublic int getRangeClassValue()
optional .ca.isupeene.charactersheet.cdk.WeaponRangeClass range_class = 2;getRangeClassValue in interface Model.WeaponInfoOrBuilderpublic Model.WeaponRangeClass getRangeClass()
optional .ca.isupeene.charactersheet.cdk.WeaponRangeClass range_class = 2;getRangeClass in interface Model.WeaponInfoOrBuilderpublic java.lang.String getDamage()
TODO: Consider making this a separate class instead of a string
optional string damage = 3;getDamage in interface Model.WeaponInfoOrBuilderpublic com.google.protobuf.ByteString getDamageBytes()
TODO: Consider making this a separate class instead of a string
optional string damage = 3;getDamageBytes in interface Model.WeaponInfoOrBuilderpublic int getDamageTypeValue()
optional .ca.isupeene.charactersheet.cdk.DamageType damage_type = 4;getDamageTypeValue in interface Model.WeaponInfoOrBuilderpublic Model.DamageType getDamageType()
optional .ca.isupeene.charactersheet.cdk.DamageType damage_type = 4;getDamageType in interface Model.WeaponInfoOrBuilderpublic boolean getAmmunition()
optional bool ammunition = 5;getAmmunition in interface Model.WeaponInfoOrBuilderpublic boolean getFinesse()
optional bool finesse = 6;getFinesse in interface Model.WeaponInfoOrBuilderpublic boolean getHeavy()
optional bool heavy = 7;getHeavy in interface Model.WeaponInfoOrBuilderpublic boolean getLight()
optional bool light = 8;getLight in interface Model.WeaponInfoOrBuilderpublic boolean getLoading()
optional bool loading = 9;getLoading in interface Model.WeaponInfoOrBuilderpublic boolean getReach()
optional bool reach = 10;getReach in interface Model.WeaponInfoOrBuilderpublic boolean getSpecial()
optional bool special = 11;getSpecial in interface Model.WeaponInfoOrBuilderpublic boolean getThrown()
optional bool thrown = 12;getThrown in interface Model.WeaponInfoOrBuilderpublic boolean getTwoHanded()
optional bool two_handed = 13;getTwoHanded in interface Model.WeaponInfoOrBuilderpublic boolean getVersatile()
optional bool versatile = 14;getVersatile in interface Model.WeaponInfoOrBuilderpublic int getStandardRange()
optional int32 standard_range = 15;getStandardRange in interface Model.WeaponInfoOrBuilderpublic int getLongRange()
optional int32 long_range = 16;getLongRange in interface Model.WeaponInfoOrBuilderpublic java.lang.String getVersatileDamage()
optional string versatile_damage = 17;getVersatileDamage in interface Model.WeaponInfoOrBuilderpublic com.google.protobuf.ByteString getVersatileDamageBytes()
optional string versatile_damage = 17;getVersatileDamageBytes in interface Model.WeaponInfoOrBuilderpublic java.lang.String getSpecialDescription()
optional string special_description = 18;getSpecialDescription in interface Model.WeaponInfoOrBuilderpublic com.google.protobuf.ByteString getSpecialDescriptionBytes()
optional string special_description = 18;getSpecialDescriptionBytes in interface Model.WeaponInfoOrBuilderpublic 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.WeaponInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.WeaponInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.WeaponInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.WeaponInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.WeaponInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.WeaponInfo.Builder newBuilder()
public static Model.WeaponInfo.Builder newBuilder(Model.WeaponInfo 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.WeaponInfo,Model.WeaponInfo.Builder>public static Model.WeaponInfo getDefaultInstance()
public static com.google.protobuf.Parser<Model.WeaponInfo> parser()