![]() |
ezEngine
Release 25.03
|
Implements the functionality of ezConsoleFunctionBase for functions with different parameter types. See ezConsoleFunctionBase for more details. More...
#include <ConsoleFunction.h>
Additional Inherited Members | |
![]() | |
ezConsoleFunctionBase (ezStringView sFunctionName, ezStringView sDescription) | |
The constructor takes the function name and description as it should appear in the console. | |
ezStringView | GetName () const |
Returns the name of the function as it should be exposed in the console. | |
ezStringView | GetDescription () const |
Returns the description of the function as it should appear in the console. | |
virtual ezUInt32 | GetNumParameters () const =0 |
Returns the number of parameters that this function takes. | |
virtual ezVariant::Type::Enum | GetParameterType (ezUInt32 uiParam) const =0 |
Returns the type of the n-th parameter. | |
virtual ezResult | Call (ezArrayPtr< ezVariant > params)=0 |
Calls the function. Each parameter must be put into an ezVariant and all of them are passed along as an array. More... | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
![]() | |
ezEnumerable * | m_pNextInstance |
Implements the functionality of ezConsoleFunctionBase for functions with different parameter types. See ezConsoleFunctionBase for more details.