Planeshift
|
Time online time prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if within the time range. | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. | |
psQuestPrereqOpTimeOnline (int minTime, int maxTime) | |
Construct an online time operator. | |
virtual | ~psQuestPrereqOpTimeOnline () |
Protected Attributes | |
unsigned int | maxTime |
unsigned int | minTime |
Time online time prerequisite operator.
The time must be between mintime and maxtime.
Definition at line 1133 of file psquestprereqops.h.
Construct an online time operator.
minTime | Minimal time online. |
maxTime | Maximal time online. |
Definition at line 1146 of file psquestprereqops.h.
virtual psQuestPrereqOpTimeOnline::~psQuestPrereqOpTimeOnline | ( | ) | [inline, virtual] |
Definition at line 1148 of file psquestprereqops.h.
virtual bool psQuestPrereqOpTimeOnline::Check | ( | psCharacter * | character | ) | [virtual] |
Check if within the time range.
character | The character that are checking for a prerequisite. |
Implements psQuestPrereqOp.
virtual csPtr<psQuestPrereqOp> psQuestPrereqOpTimeOnline::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
virtual csString psQuestPrereqOpTimeOnline::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <onlinetime min="-min" max="-max" />
Implements psQuestPrereqOp.
unsigned int psQuestPrereqOpTimeOnline::maxTime [protected] |
Definition at line 1136 of file psquestprereqops.h.
unsigned int psQuestPrereqOpTimeOnline::minTime [protected] |
Definition at line 1136 of file psquestprereqops.h.