public static enum AreaPermissions.Type extends java.lang.Enum<AreaPermissions.Type>
| Enum Constant and Description |
|---|
ENTER_AREA |
ENTER_PORTAL |
LEAVE_AREA |
SPAWN_AREA |
SPAWN_PORTAL |
| Modifier and Type | Field and Description |
|---|---|
private int |
id |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static AreaPermissions.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AreaPermissions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AreaPermissions.Type ENTER_AREA
public static final AreaPermissions.Type LEAVE_AREA
public static final AreaPermissions.Type SPAWN_AREA
public static final AreaPermissions.Type ENTER_PORTAL
public static final AreaPermissions.Type SPAWN_PORTAL
public static AreaPermissions.Type[] values()
for (AreaPermissions.Type c : AreaPermissions.Type.values()) System.out.println(c);
public static AreaPermissions.Type 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 int getId()