Open 3D Engine AzFramework API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <CommandRegistrationBus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual bool | RegisterCommand (AZStd::string_view identifier, AZStd::string_view helpText, AZ::u32 commandFlags, CommandFunction callback)=0 |
virtual bool | UnregisterCommand (AZStd::string_view identifier)=0 |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
A command registration system to register console commands
|
pure virtual |
Adds a command callback function to be executed with a string identifier
|
pure virtual |
Removes a command (using its identifier)