Package | Description |
---|---|
com.github.ocraft.s2client.bot | |
com.github.ocraft.s2client.bot.gateway |
Modifier and Type | Method | Description |
---|---|---|
static ClientError |
ClientError.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ClientError[] |
ClientError.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
default void |
ClientEvents.onError(java.util.List<ClientError> clientErrors,
java.util.List<java.lang.String> protocolErrors) |
Called for various errors the library can encounter.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<ClientError> |
ControlInterface.getClientErrors() |
Modifier and Type | Method | Description |
---|---|---|
void |
ControlInterface.error(ClientError error,
java.util.List<java.lang.String> errors) |
|
void |
ControlInterface.errorIf(boolean condition,
ClientError error,
java.util.List<java.lang.String> errors) |
Copyright © 2017–2018 Ocraft Project. All rights reserved.