public enum WebsocketEventType extends Enum<WebsocketEventType>
| Enum Constant and Description |
|---|
ADDED_TO_QUEUE |
CREATOR_DISCONNECTED |
LOG_MESSAGE |
SKIN_UPLOADED |
SUBSCRIBER_CREATED |
SUBSCRIBERS_COUNT |
| Modifier and Type | Field and Description |
|---|---|
static WebsocketEventType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static WebsocketEventType |
getById(int id) |
static WebsocketEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebsocketEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebsocketEventType SUBSCRIBER_CREATED
public static final WebsocketEventType SUBSCRIBERS_COUNT
public static final WebsocketEventType ADDED_TO_QUEUE
public static final WebsocketEventType SKIN_UPLOADED
public static final WebsocketEventType CREATOR_DISCONNECTED
public static final WebsocketEventType LOG_MESSAGE
public static final WebsocketEventType[] VALUES
public static WebsocketEventType[] values()
for (WebsocketEventType c : WebsocketEventType.values()) System.out.println(c);
public static WebsocketEventType 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 nullpublic static WebsocketEventType getById(int id)
Copyright © 2021 GeyserMC. All rights reserved.