public final class UnlinkAccountCommand extends Object implements FloodgateCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
UnlinkAccountCommand.Message |
| Constructor and Description |
|---|
UnlinkAccountCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.incendo.cloud.Command<UserAudience.PlayerAudience> |
buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
Called by the CommandRegister when it wants you to build the command which he can add.
|
void |
execute(org.incendo.cloud.context.CommandContext<UserAudience.PlayerAudience> context) |
boolean |
shouldRegister(FloodgateConfig config)
Called by the CommandRegister to check if the command should be added given the config.
|
public org.incendo.cloud.Command<UserAudience.PlayerAudience> buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
FloodgateCommandbuildCommand in interface FloodgateCommandcommandManager - the manager to create a commandpublic void execute(org.incendo.cloud.context.CommandContext<UserAudience.PlayerAudience> context)
public boolean shouldRegister(FloodgateConfig config)
FloodgateCommandshouldRegister in interface FloodgateCommandconfig - the config to check if a command should be added