public static interface Model.MagicItemResourceOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getCharges()
optional int32 charges = 1; |
java.lang.String |
getCorrelationKey()
If present, this key must correlate to an ItemEnchantment of type EFFECT
to indicate which effect is activated by a use of this resource.
|
com.google.protobuf.ByteString |
getCorrelationKeyBytes()
If present, this key must correlate to an ItemEnchantment of type EFFECT
to indicate which effect is activated by a use of this resource.
|
int |
getRecoveryDie()
Used for DIE recovery type.
|
Model.MagicItemResource.RecoveryType |
getRecoveryType()
optional .ca.isupeene.charactersheet.cdk.MagicItemResource.RecoveryType recovery_type = 2; |
int |
getRecoveryTypeValue()
optional .ca.isupeene.charactersheet.cdk.MagicItemResource.RecoveryType recovery_type = 2; |
int getCharges()
optional int32 charges = 1;int getRecoveryTypeValue()
optional .ca.isupeene.charactersheet.cdk.MagicItemResource.RecoveryType recovery_type = 2;Model.MagicItemResource.RecoveryType getRecoveryType()
optional .ca.isupeene.charactersheet.cdk.MagicItemResource.RecoveryType recovery_type = 2;int getRecoveryDie()
Used for DIE recovery type. This is allowed to be a number like d3 (1d6 / 2)
optional int32 recovery_die = 3;java.lang.String getCorrelationKey()
If present, this key must correlate to an ItemEnchantment of type EFFECT to indicate which effect is activated by a use of this resource. If it's empty, it's presumed that the effect is of type "OTHER" TODO: Figure it if correlation to the OTHER effect is needed, and if so, how to implement
optional string correlation_key = 4;com.google.protobuf.ByteString getCorrelationKeyBytes()
If present, this key must correlate to an ItemEnchantment of type EFFECT to indicate which effect is activated by a use of this resource. If it's empty, it's presumed that the effect is of type "OTHER" TODO: Figure it if correlation to the OTHER effect is needed, and if so, how to implement
optional string correlation_key = 4;