public enum WebsocketEventType extends Enum<WebsocketEventType>
| Enum Constant and Description |
|---|
ADDED_TO_QUEUE
Sent every time a skin got added to the upload queue
|
CREATOR_DISCONNECTED
Sent once the creator disconnected.
|
LOG_MESSAGE
Sent when the server wants you to know something.
|
NEWS_ADDED
Sent every time a news item was added
|
SKIN_UPLOADED
Sent every time a skin got successfully uploaded
|
SUBSCRIBER_COUNT
Sent every time a subscriber got added or disconnected
|
SUBSCRIBER_CREATED
Sent once we successfully connected to the server
|
| Modifier and Type | Method and Description |
|---|---|
static WebsocketEventType |
getById(int id) |
int |
getId() |
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 SUBSCRIBER_COUNT
public static final WebsocketEventType CREATOR_DISCONNECTED
ADDED_TO_QUEUE and SKIN_UPLOADED
reaches 0.public static final WebsocketEventType ADDED_TO_QUEUE
public static final WebsocketEventType SKIN_UPLOADED
public static final WebsocketEventType NEWS_ADDED
public static final WebsocketEventType LOG_MESSAGE
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)
public int getId()
Copyright © 2021 GeyserMC. All rights reserved.