Interface DMSubCommandRegistry


public interface DMSubCommandRegistry
Get this class from the DialogueMasterAPI.getSubCommandRegistry() method. With this you can register and unregister subcommands for the DialogueMaster command.
  • Method Details

    • registerSubCommand

      void registerSubCommand(DMSubCommand subCommand)
      Registers a subcommand.
      Parameters:
      subCommand - The subcommand to register.
    • unregisterSubCommand

      void unregisterSubCommand(DMSubCommand subCommand)
      Unregisters a subcommand.
      Parameters:
      subCommand - The subcommand to unregister.
    • getRegisteredSubCommands

      List<DMSubCommand> getRegisteredSubCommands()
      Gets a list of all the registered subcommands.
      Returns:
      The list of all the registered subcommands.