public enum DeleteCause extends Enum<DeleteCause>
Enum Constant and Description |
---|
BAN
The last player or leader has been banned from the server
|
DELETE
The party has been deleted
|
KICK
The last player or leader has been kicked from the party
|
LEAVE
The last player or leader left the party
|
OTHERS
Other reasons
|
TIMEOUT
The party got deleted after all players or leader left the server
|
Modifier and Type | Method and Description |
---|---|
static DeleteCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteCause LEAVE
public static final DeleteCause KICK
public static final DeleteCause DELETE
public static final DeleteCause BAN
public static final DeleteCause TIMEOUT
public static final DeleteCause OTHERS
public static DeleteCause[] values()
for (DeleteCause c : DeleteCause.values()) System.out.println(c);
public static DeleteCause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.