public static enum NearbyEventsEvent.DistressEventType extends java.lang.Enum<NearbyEventsEvent.DistressEventType>
Enum Constant and Description |
---|
DERELICT_SHIP |
NORMAL |
PIRATE_AMBUSH |
PIRATE_AMBUSH_TRAP |
Modifier and Type | Method and Description |
---|---|
static NearbyEventsEvent.DistressEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NearbyEventsEvent.DistressEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearbyEventsEvent.DistressEventType NORMAL
public static final NearbyEventsEvent.DistressEventType PIRATE_AMBUSH
public static final NearbyEventsEvent.DistressEventType PIRATE_AMBUSH_TRAP
public static final NearbyEventsEvent.DistressEventType DERELICT_SHIP
public static NearbyEventsEvent.DistressEventType[] values()
for (NearbyEventsEvent.DistressEventType c : NearbyEventsEvent.DistressEventType.values()) System.out.println(c);
public static NearbyEventsEvent.DistressEventType 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 nullCopyright © 2013 Fractal Softworks, LLC. All Rights Reserved.