Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::ConsoleRequests Class Referenceabstract

#include <ConsoleBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void ExecuteConsoleCommand (const char *command)=0
 
virtual void ResetCVarsToDefaults ()=0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 

Detailed Description

Event bus that can be used to request commands be executed by the console Only one console can exist at a time, which is why this bus supports only one listener.

Member Data Documentation

◆ HandlerPolicy

const AZ::EBusHandlerPolicy AzFramework::ConsoleRequests::HandlerPolicy = AZ::EBusHandlerPolicy::Single
static

Overrides the default AZ::EBusTraits handler policy to allow one listener only, because only one console can exist at a time.


The documentation for this class was generated from the following file: