Planeshift
|
Basis list prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual void | Insert (size_t n, csRef< psQuestPrereqOp > prereqOp) |
Insert a new child prerequisite onto the child list. More... | |
virtual void | Push (csRef< psQuestPrereqOp > prereqOp) |
Push a new child prerequisite onto the child list. More... | |
virtual | ~psQuestPrereqOpList () |
Destructor for the list prerequisite operator. More... | |
![]() | |
virtual bool | Check (psCharacter *character)=0 |
Check for valid prerequisite. More... | |
virtual csPtr< psQuestPrereqOp > | Copy ()=0 |
Copy the prerequisite operator. More... | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual csString | GetScriptOp ()=0 |
Convert the prerequisite operator to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Protected Attributes | |
csRefArray< psQuestPrereqOp > | prereqlist |
The list of child prerequisite operators for this list operator. More... | |
Basis list prerequisite operator.
Define basic operations for operations needing any number of prerequisites to be complete. Like an and operator with any numbers of childs.
Definition at line 115 of file psquestprereqops.h.
|
inlinevirtual |
Destructor for the list prerequisite operator.
Will delete any prerequisite pushed on to the list of child prerequisites.
Definition at line 130 of file psquestprereqops.h.
|
virtual |
Insert a new child prerequisite onto the child list.
Add another prerequisite operator to the list of childs for this list prerequisite.
n | Insert the prereqOp before prerequisite n |
prereqOp | The prerequisite operator to be inserted to the list. |
|
virtual |
Push a new child prerequisite onto the child list.
Add another prerequisite operator to the list of childs for this list prerequisite.
prereqOp | The prerequisite operator to be appended to the list. |
|
protected |
The list of child prerequisite operators for this list operator.
Definition at line 121 of file psquestprereqops.h.