Enum Class ParseValueType
- All Implemented Interfaces:
Serializable
,Comparable<ParseValueType>
,Constable
Indicates a common set of types for arguments to various
Desc
objects that appear in the card JSON.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA string matching the name of anSpellsource.ActionTypeMessage.ActionType
enum.A string matching the name of aAlgebraicOperation
enum.A string matching the name of aAttribute
enum.AnAuraDesc
.A string matching the name of aBoardPositionRelative
enum.Atrue
orfalse
value.A string matching the name of aSpellsource.CardTypeMessage.CardType
enum.A string matching the name of aSpellsource.ZonesMessage.Zones
enum.An array ofCardSourceDesc
.A string matching the name of aSpellsource.CardTypeMessage.CardType
enum.ACondition
.An array ofCondition
objects.An array ofDynamicDescriptionDesc
objects.An array ofEntityFilterDesc
objects.A string matching the name of aSpellsource.EntityTypeMessage.EntityType
enum.AnEventTriggerDesc
.The array version ofEVENT_TRIGGER
.A string matching the name of aGameValue
enum.An integer value.An array of integers.A string matching the name of aComparisonOperation
enum.A string matching the name of aPlayerAttribute
enum.AnEnchantmentDesc
that should be interpreted as aQuest
.A string matching the name of aSpellsource.RarityMessage.Rarity
enum.AnEnchantmentDesc
that should be interpreted as aSecret
.ASpellDesc
.An array ofSpellDesc
objects.A string, typically a card ID, description field or name field.An array of strings, typically an array of card IDs.A string matching the name of aTargetPlayer
enum.A string matching the name of aEntityReference
static field name.A string matching the name of aTargetSelection
enum.A string matching the name of aTargetType
enum.AEnchantmentDesc
object.An array ofEnchantmentDesc
objects.An integer, or aValueProviderDesc
.An array ofSpellsource.ZonesMessage.Zones
enum values. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParseValueType
Returns the enum constant of this class with the specified name.static ParseValueType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Atrue
orfalse
value. -
INTEGER
An integer value. -
TARGET_SELECTION
A string matching the name of aTargetSelection
enum. -
TARGET_REFERENCE
A string matching the name of aEntityReference
static field name. -
TARGET_PLAYER
A string matching the name of aTargetPlayer
enum. -
SPELL
ASpellDesc
. -
SPELL_ARRAY
An array ofSpellDesc
objects. -
ATTRIBUTE
A string matching the name of aAttribute
enum. -
PLAYER_ATTRIBUTE
A string matching the name of aPlayerAttribute
enum. -
VALUE_PROVIDER
-
ENTITY_FILTER
-
ENTITY_FILTER_ARRAY
An array ofEntityFilterDesc
objects. -
STRING
A string, typically a card ID, description field or name field. -
STRING_ARRAY
An array of strings, typically an array of card IDs. -
BOARD_POSITION_RELATIVE
A string matching the name of aBoardPositionRelative
enum. -
CARD_LOCATION
A string matching the name of aSpellsource.ZonesMessage.Zones
enum. -
OPERATION
A string matching the name of aComparisonOperation
enum. -
ALGEBRAIC_OPERATION
A string matching the name of aAlgebraicOperation
enum. -
CONDITION
ACondition
. -
CONDITION_ARRAY
An array ofCondition
objects. -
CARD_TYPE
A string matching the name of aSpellsource.CardTypeMessage.CardType
enum. -
ENTITY_TYPE
A string matching the name of aSpellsource.EntityTypeMessage.EntityType
enum. -
ACTION_TYPE
A string matching the name of anSpellsource.ActionTypeMessage.ActionType
enum. -
TARGET_TYPE
A string matching the name of aTargetType
enum. -
TRIGGER
AEnchantmentDesc
object. -
EVENT_TRIGGER
AnEventTriggerDesc
. -
CARD_COST_MODIFIER
-
RARITY
A string matching the name of aSpellsource.RarityMessage.Rarity
enum. -
VALUE
An integer, or aValueProviderDesc
. -
CARD_DESC_TYPE
A string matching the name of aSpellsource.CardTypeMessage.CardType
enum. -
CARD_SOURCE
-
CARD_SOURCE_ARRAY
An array ofCardSourceDesc
. -
INTEGER_ARRAY
An array of integers. -
GAME_VALUE
A string matching the name of aGameValue
enum. -
TRIGGERS
An array ofEnchantmentDesc
objects. -
QUEST
AnEnchantmentDesc
that should be interpreted as aQuest
. -
AURA
AnAuraDesc
. -
SECRET
AnEnchantmentDesc
that should be interpreted as aSecret
. -
CHOOSE_ONE_OVERRIDE
-
BATTLECRY
-
DYNAMIC_DESCRIPTION
-
EVENT_TRIGGER_ARRAY
The array version ofEVENT_TRIGGER
. -
ZONES
An array ofSpellsource.ZonesMessage.Zones
enum values. -
DYNAMIC_DESCRIPTION_ARRAY
An array ofDynamicDescriptionDesc
objects.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-