|
|
| AZ_RTTI (Console, "{CF6DCDE7-1A66-442C-BA87-01A432C13E7D}", IConsole) |
| |
|
| AZ_CLASS_ALLOCATOR (Console, AZ::OSAllocator) |
| |
| | Console (AZ::SettingsRegistryInterface &settingsRegistry) |
| |
|
| PerformCommandResult | PerformCommand (const char *command, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
| |
| PerformCommandResult | PerformCommand (const ConsoleCommandContainer &commandAndArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
| |
| PerformCommandResult | PerformCommand (AZStd::string_view command, const ConsoleCommandContainer &commandArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
| |
| void | ExecuteConfigFile (AZStd::string_view configFileName) override |
| |
| void | ExecuteCommandLine (const AZ::CommandLine &commandLine) override |
| |
| bool | ExecuteDeferredConsoleCommands () override |
| |
| void | ClearDeferredConsoleCommands () override |
| | Clear out any deferred console commands queue.
|
| |
| bool | HasCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible) override |
| |
| ConsoleFunctorBase * | FindCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible) override |
| |
| AZStd::string | AutoCompleteCommand (AZStd::string_view command, AZStd::vector< AZStd::string > *matches=nullptr) override |
| |
| void | VisitRegisteredFunctors (const FunctorVisitor &visitor) override |
| |
| void | RegisterFunctor (ConsoleFunctorBase *functor) override |
| |
| void | UnregisterFunctor (ConsoleFunctorBase *functor) override |
| |
| void | LinkDeferredFunctors (ConsoleFunctorBase *&deferredHead) override |
| |
| void | RegisterCommandInvokerWithSettingsRegistry (AZ::SettingsRegistryInterface &settingsRegistry) override |
| |
|
| AZ_RTTI (IConsole, "{20001930-119D-4A80-BD67-825B7E4AEB3D}") |
| |
| template<typename RETURN_TYPE > |
| GetValueResult | GetCvarValue (AZStd::string_view command, RETURN_TYPE &outValue) |
| |
|
ConsoleCommandRegisteredEvent & | GetConsoleCommandRegisteredEvent () |
| |
|
ConsoleCommandInvokedEvent & | GetConsoleCommandInvokedEvent () |
| | Returns the AZ::Event<> invoked whenever a console command is executed.
|
| |
|
DispatchCommandNotFoundEvent & | GetDispatchCommandNotFoundEvent () |
| | Returns the AZ::Event<> invoked whenever a console command could not be found.
|
| |
|
| AZ_DISABLE_COPY_MOVE (IConsole) |
| |
A simple console class for providing text based variable and process interaction.