![]() |
Plasma Engine
2.0
|
Implements the functionality of plConsoleFunctionBase for functions with different parameter types. See plConsoleFunctionBase for more details. More...
#include <ConsoleFunction.h>
Additional Inherited Members | |
![]() | |
plConsoleFunctionBase (plStringView sFunctionName, plStringView sDescription) | |
The constructor takes the function name and description as it should appear in the console. | |
plStringView | GetName () const |
Returns the name of the function as it should be exposed in the console. | |
plStringView | GetDescription () const |
Returns the description of the function as it should appear in the console. | |
virtual plUInt32 | GetNumParameters () const =0 |
Returns the number of parameters that this function takes. | |
virtual plVariant::Type::Enum | GetParameterType (plUInt32 uiParam) const =0 |
Returns the type of the n-th parameter. | |
virtual plResult | Call (plArrayPtr< plVariant > params)=0 |
Calls the function. Each parameter must be put into an plVariant and all of them are passed along as an array. | |
![]() | |
static const plRTTI * | GetStaticRTTI () |
![]() | |
plEnumerable * | m_pNextInstance |
Implements the functionality of plConsoleFunctionBase for functions with different parameter types. See plConsoleFunctionBase for more details.