advisor points prerequisite operator.
More...
#include <psquestprereqops.h>
advisor points prerequisite operator.
The advisorpoints must be beetwen maxPoints and minPoints.
Definition at line 1083 of file psquestprereqops.h.
psQuestPrereqOpAdvisorPoints::psQuestPrereqOpAdvisorPoints |
( |
int |
minPoints, |
|
|
int |
maxPoints, |
|
|
csString |
type |
|
) |
| |
|
inline |
Construct an advisor points operator.
- Parameters
-
minPoints | Minimal advisor points. |
maxPoints | Maximal advisor points. |
type | Type of the check. |
Definition at line 1098 of file psquestprereqops.h.
virtual psQuestPrereqOpAdvisorPoints::~psQuestPrereqOpAdvisorPoints |
( |
| ) |
|
|
inlinevirtual |
virtual bool psQuestPrereqOpAdvisorPoints::Check |
( |
psCharacter * |
character | ) |
|
|
virtual |
Check if within the advisor points range.
- Parameters
-
character | The character that are checking for a prerequisite. |
- Returns
- True if in the valid range.
Implements psQuestPrereqOp.
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
- Returns
- Copy of the prerequisite operator.
Implements psQuestPrereqOp.
virtual csString psQuestPrereqOpAdvisorPoints::GetScriptOp |
( |
| ) |
|
|
virtual |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <advisorpoints min="-min" max="-max" type="min/max/both"/>
- Returns
- XML string for the prerequisite operator.
Implements psQuestPrereqOp.
int psQuestPrereqOpAdvisorPoints::maxPoints |
|
protected |
int psQuestPrereqOpAdvisorPoints::minPoints |
|
protected |
csString psQuestPrereqOpAdvisorPoints::type |
|
protected |
The documentation for this class was generated from the following file: