Class AbstractAsyncPlayerCommand

Direct Known Subclasses:
ConcurrencyCommand, CreateCommand, LocateBiomeCommand, LocatePrefabCommand, LocateRegionCommand, LocateZoneCommand, NPCDescriptorsCommand, PanelCommand, PrefabEditBackCommand, PrefabEditCreateNewCommand, PrefabEditExitCommand, PrefabEditLoadCommand, PrefabEditSaveAsCommand, PrefabEditSaveCommand

public abstract class AbstractAsyncPlayerCommand extends AbstractAsyncCommand
An asynchronous command base for commands that require player data.

Player commands are executed asynchronously, providing access to the player's PlayerRef, Store, Ref, and World.

  • Constructor Details

    • AbstractAsyncPlayerCommand

      public AbstractAsyncPlayerCommand(@Nonnull String name, @Nonnull String description)
      Constructor for a AbstractAsyncPlayerCommand instance
      Parameters:
      name - The name of the command
      description - The description of the command
    • AbstractAsyncPlayerCommand

      public AbstractAsyncPlayerCommand(@Nonnull String name, @Nonnull String description, boolean requiresConfirmation)
      Constructor for a AbstractAsyncPlayerCommand instance
      Parameters:
      name - The name of the command
      description - The description of the command
      requiresConfirmation - Determines whether a confirmation parameter is required to execute
    • AbstractAsyncPlayerCommand

      public AbstractAsyncPlayerCommand(@Nonnull String description)
      Variant Constructor for a AbstractAsyncPlayerCommand instance
      Parameters:
      description - The description of the command