public static enum CombatService.HitType extends java.lang.Enum<CombatService.HitType>
Modifier and Type | Field and Description |
---|---|
static byte |
BLOCK |
static byte |
CRITICAL |
static byte |
DODGE |
static byte |
EVASION |
static byte |
GLANCE |
static byte |
HIT |
static byte |
MISS |
static byte |
PARRY |
static byte |
PUNISHING |
static byte |
STRIKETHROUGH |
Modifier and Type | Method and Description |
---|---|
static CombatService.HitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CombatService.HitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final byte MISS
public static final byte DODGE
public static final byte PARRY
public static final byte STRIKETHROUGH
public static final byte CRITICAL
public static final byte PUNISHING
public static final byte HIT
public static final byte BLOCK
public static final byte EVASION
public static final byte GLANCE
public static CombatService.HitType[] values()
for (CombatService.HitType c : CombatService.HitType.values()) System.out.println(c);
public static CombatService.HitType 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 null