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