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 Summary
Modifier and TypeMethodDescriptionGets a list of all the registered subcommands.void
registerSubCommand
(DMSubCommand subCommand) Registers a subcommand.void
unregisterSubCommand
(DMSubCommand subCommand) Unregisters a subcommand.
-
Method Details
-
registerSubCommand
Registers a subcommand.- Parameters:
subCommand
- The subcommand to register.
-
unregisterSubCommand
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.
-