ProgressionScript is the imperative script container.
More...
#include <scripting.h>
|
csString | name |
| name of the script object (identifier?) More...
|
|
csArray< ImperativeOp * > | ops |
| script operation objects, warning: may have objects that contain further arrays of operations More...
|
|
ProgressionScript is the imperative script container.
An imperative script is a one-shot script.
Definition at line 78 of file scripting.h.
ProgressionScript::~ProgressionScript |
( |
| ) |
|
default destructor deletes all internally stored script operation object
ProgressionScript::ProgressionScript |
( |
const char * |
name | ) |
|
|
inlineprotected |
internal constructor for Create().
Is constructor only available inside the class.
- Parameters
-
name | of the script object (identifier ?) |
Definition at line 126 of file scripting.h.
create a progressionscript from a string containing a xml script
Basically this function creates a xml script from the given string and then passes it on to the other Create function.
- Parameters
-
entitymanager | of the psserver |
cachemanager | of the psserver |
name | of the progressionscript ? |
script | const char* string containing the script to parse and store |
create a progressionscript from a xml script
Parses the supplied xml script and creates and stores an object representation of the script.
- Parameters
-
entitymanager | of the psserver |
cachemanager | of the psserver |
name | of the progressionscript ? |
top | xml iDocumentNode containing the script to parse and store |
const csString& ProgressionScript::GetName |
( |
| ) |
|
|
inline |
Run is executing the internally stored script.
- Parameters
-
env | is a container for passing variables to the script |
csString ProgressionScript::name |
|
protected |
name of the script object (identifier?)
Definition at line 128 of file scripting.h.
csArray<ImperativeOp*> ProgressionScript::ops |
|
protected |
script operation objects, warning: may have objects that contain further arrays of operations
Definition at line 129 of file scripting.h.
The documentation for this class was generated from the following file: