Class CommandDefinition

java.lang.Object
com.hypixel.hytale.server.core.modules.ui.CommandDefinition

public final class CommandDefinition extends Object
Binds a command ID to its handler on a UISurface. Returned by UISurface.registerCommand(String, UICommandHandler) so the caller can pass the ID to Ui.commandVal(String) when building the initial data context.
  • Method Details

    • getId

      @Nonnull public String getId()