commands.server package¶
Provides say command functionality.
- class commands.server.ServerCommand(*args, **kwargs)[source]¶
Bases:
_BaseCommand
Decorator class used to register a server command.
- class commands.server.ServerCommandDispatcher¶
Bases:
ConCommand
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- add_callback((ServerCommandDispatcher)arg1, (object)callable[, (_memory.HookType)hook_type=_memory.HookType.PRE]) None : ¶
Adds a callback to the server command’s list.
- remove_callback((ServerCommandDispatcher)arg1, (object)callable[, (_memory.HookType)hook_type=_memory.HookType.PRE]) None : ¶
Removes a callback from the server command’s list.
- commands.server.get_server_command((str)arg1[, (str)help_text=None[, (_engines._sound.Channel)flags=0]]) ServerCommandDispatcher : ¶
Gets the ServerCommandDispatcher instance using just the name or also the helptext and/or flags
- commands.server.server_command_manager¶
The singleton object of the
_ServerCommandManager
class.