Planeshift
|
And Prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if all child prerequisites are true. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
virtual | ~psQuestPrereqOpAnd () |
Destructor for the and prerequisite operator. More... | |
![]() | |
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 csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Additional Inherited Members | |
![]() | |
csRefArray< psQuestPrereqOp > | prereqlist |
The list of child prerequisite operators for this list operator. More... | |
And Prerequisite operator.
A multi term and operator. Every prerequisite have to be true for this operator to be valid.
Definition at line 161 of file psquestprereqops.h.
|
inlinevirtual |
Destructor for the and prerequisite operator.
Definition at line 168 of file psquestprereqops.h.
|
virtual |
Check if all child prerequisites are true.
prerequisite = child1 and child2 and ... childN
character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
|
virtual |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
|
virtual |
Convert the prerequisite operator to a xml string.
Convert the operator to the xml string: <and><child1/>...<childN/></and>
Implements psQuestPrereqOp.