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.ActionTypeenum.A string matching the name of aAlgebraicOperationenum.A string matching the name of aAttributeenum.AnAuraDesc.A string matching the name of aBoardPositionRelativeenum.Atrueorfalsevalue.A string matching the name of aSpellsource.CardTypeMessage.CardTypeenum.A string matching the name of aSpellsource.ZonesMessage.Zonesenum.An array ofCardSourceDesc.A string matching the name of aSpellsource.CardTypeMessage.CardTypeenum.ACondition.An array ofConditionobjects.An array ofDynamicDescriptionDescobjects.An array ofEntityFilterDescobjects.A string matching the name of aSpellsource.EntityTypeMessage.EntityTypeenum.AnEventTriggerDesc.The array version ofEVENT_TRIGGER.A string matching the name of aGameValueenum.An integer value.An array of integers.A string matching the name of aComparisonOperationenum.A string matching the name of aPlayerAttributeenum.AnEnchantmentDescthat should be interpreted as aQuest.A string matching the name of aSpellsource.RarityMessage.Rarityenum.AnEnchantmentDescthat should be interpreted as aSecret.ASpellDesc.An array ofSpellDescobjects.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 aTargetPlayerenum.A string matching the name of aEntityReferencestatic field name.A string matching the name of aTargetSelectionenum.A string matching the name of aTargetTypeenum.AEnchantmentDescobject.An array ofEnchantmentDescobjects.An integer, or aValueProviderDesc.An array ofSpellsource.ZonesMessage.Zonesenum values. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParseValueTypeReturns 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
Atrueorfalsevalue. -
INTEGER
An integer value. -
TARGET_SELECTION
A string matching the name of aTargetSelectionenum. -
TARGET_REFERENCE
A string matching the name of aEntityReferencestatic field name. -
TARGET_PLAYER
A string matching the name of aTargetPlayerenum. -
SPELL
ASpellDesc. -
SPELL_ARRAY
An array ofSpellDescobjects. -
ATTRIBUTE
A string matching the name of aAttributeenum. -
PLAYER_ATTRIBUTE
A string matching the name of aPlayerAttributeenum. -
VALUE_PROVIDER
-
ENTITY_FILTER
-
ENTITY_FILTER_ARRAY
An array ofEntityFilterDescobjects. -
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 aBoardPositionRelativeenum. -
CARD_LOCATION
A string matching the name of aSpellsource.ZonesMessage.Zonesenum. -
OPERATION
A string matching the name of aComparisonOperationenum. -
ALGEBRAIC_OPERATION
A string matching the name of aAlgebraicOperationenum. -
CONDITION
ACondition. -
CONDITION_ARRAY
An array ofConditionobjects. -
CARD_TYPE
A string matching the name of aSpellsource.CardTypeMessage.CardTypeenum. -
ENTITY_TYPE
A string matching the name of aSpellsource.EntityTypeMessage.EntityTypeenum. -
ACTION_TYPE
A string matching the name of anSpellsource.ActionTypeMessage.ActionTypeenum. -
TARGET_TYPE
A string matching the name of aTargetTypeenum. -
TRIGGER
AEnchantmentDescobject. -
EVENT_TRIGGER
AnEventTriggerDesc. -
CARD_COST_MODIFIER
-
RARITY
A string matching the name of aSpellsource.RarityMessage.Rarityenum. -
VALUE
An integer, or aValueProviderDesc. -
CARD_DESC_TYPE
A string matching the name of aSpellsource.CardTypeMessage.CardTypeenum. -
CARD_SOURCE
-
CARD_SOURCE_ARRAY
An array ofCardSourceDesc. -
INTEGER_ARRAY
An array of integers. -
GAME_VALUE
A string matching the name of aGameValueenum. -
TRIGGERS
An array ofEnchantmentDescobjects. -
QUEST
AnEnchantmentDescthat should be interpreted as aQuest. -
AURA
AnAuraDesc. -
SECRET
AnEnchantmentDescthat should be interpreted as aSecret. -
CHOOSE_ONE_OVERRIDE
-
BATTLECRY
-
DYNAMIC_DESCRIPTION
-
EVENT_TRIGGER_ARRAY
The array version ofEVENT_TRIGGER. -
ZONES
An array ofSpellsource.ZonesMessage.Zonesenum values. -
DYNAMIC_DESCRIPTION_ARRAY
An array ofDynamicDescriptionDescobjects.
-
-
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
-