public enum MagicPropertyType extends Enum<MagicPropertyType>
Properties in Magic can be configured to save in one of these locations.
Generally this is an inheritance chain, going like
Mage->Class->(SubClass...)->SubClass->Wand
But for most purposes properties are all merged together along this chain, and generally speaking a property may not appear in more than one place.
The exception to this rule is subclasses, since there maybe many of those, the ones further down the chain will take precedent.
| Enum Constant and Description |
|---|
CLASS |
MAGE |
MODIFIER |
SUBCLASS |
WAND |
| Modifier and Type | Method and Description |
|---|---|
static MagicPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagicPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagicPropertyType WAND
public static final MagicPropertyType SUBCLASS
public static final MagicPropertyType CLASS
public static final MagicPropertyType MODIFIER
public static final MagicPropertyType MAGE
public static MagicPropertyType[] values()
for (MagicPropertyType c : MagicPropertyType.values()) System.out.println(c);
public static MagicPropertyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 elMakers. All rights reserved.