public enum WauzPlayerEffectSource extends java.lang.Enum<WauzPlayerEffectSource>
WauzPlayerEffect
Enum Constant and Description |
---|
ITEM
Effect caused by items.
|
SKILL
Effect caused by skills.
|
SUMMON
Effect caused by pets, minions or totems.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the effect source.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the name of the effect source in a title friendly format.
|
static WauzPlayerEffectSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WauzPlayerEffectSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WauzPlayerEffectSource ITEM
public static final WauzPlayerEffectSource SKILL
public static final WauzPlayerEffectSource SUMMON
public static WauzPlayerEffectSource[] values()
for (WauzPlayerEffectSource c : WauzPlayerEffectSource.values()) System.out.println(c);
public static WauzPlayerEffectSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<WauzPlayerEffectSource>