iQuestParameter Struct Reference
This interface represents a parameter to a sequence, trigger, or reward for a quest. More...
#include <tools/questmanager.h>
Inheritance diagram for iQuestParameter:

Public Member Functions | |
virtual const char * | Get (iCelParameterBlock *params)=0 |
Get the value of this expression as a string. | |
virtual const char * | Get (iCelParameterBlock *params, bool &changed)=0 |
Get the value of this expression as a string. | |
virtual const celData * | GetData (iCelParameterBlock *params)=0 |
Get this variable as its correct datatype. | |
virtual int32 | GetLong (iCelParameterBlock *params)=0 |
Get the value of this expression as a long. |
Detailed Description
This interface represents a parameter to a sequence, trigger, or reward for a quest.
The quest manager understands different types of parameters (constant, static parameters ($notation), dynamic parameters (), or expressions (=notation). This interface makes abstraction of those.
Definition at line 43 of file questmanager.h.
Member Function Documentation
virtual const char* iQuestParameter::Get | ( | iCelParameterBlock * | params | ) | [pure virtual] |
Get the value of this expression as a string.
- Parameters:
-
params is an optional parameter block given to the reward.
virtual const char* iQuestParameter::Get | ( | iCelParameterBlock * | params, | |
bool & | changed | |||
) | [pure virtual] |
virtual const celData* iQuestParameter::GetData | ( | iCelParameterBlock * | params | ) | [pure virtual] |
Get this variable as its correct datatype.
virtual int32 iQuestParameter::GetLong | ( | iCelParameterBlock * | params | ) | [pure virtual] |
Get the value of this expression as a long.
- Parameters:
-
params is an optional parameter block given to the reward.
The documentation for this struct was generated from the following file:
- tools/questmanager.h
Generated for CEL: Crystal Entity Layer 1.4.1 by doxygen 1.7.1