public static enum WaypointEvent.Context extends java.lang.Enum<WaypointEvent.Context>
| Enum Constant and Description |
|---|
CREATE
Fired when a new waypoint is created.
|
DELETED
Fired when a waypoint is deleted.
|
READ
Fired when a waypoint is read from disk, waypoints are always read in batches.
|
UPDATE
Fired when an existing waypoint is updated.
|
| Modifier and Type | Method and Description |
|---|---|
static WaypointEvent.Context |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WaypointEvent.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaypointEvent.Context CREATE
public static final WaypointEvent.Context UPDATE
public static final WaypointEvent.Context DELETED
public static final WaypointEvent.Context READ
This will happen periodically as the waypoint cache gets refreshed on dimension change, modifying some options, and at world join.
public static WaypointEvent.Context[] values()
for (WaypointEvent.Context c : WaypointEvent.Context.values()) System.out.println(c);
public static WaypointEvent.Context 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