20 #ifndef SCRIPTING_HEADER 21 #define SCRIPTING_HEADER 26 #include <iutil/document.h> 27 #include <csutil/parray.h> 28 #include <csutil/csstring.h> 129 csArray<ImperativeOp*>
ops;
209 csPDelArray<AppliedOp>
ops;
218 Target(
psItem* item) : type(TARGET_PSITEM), item(item) { }
219 Target(
gemObject* obj) : type(TARGET_GEMOBJECT), obj(obj) { }
Manages CEL entities on the server.
ProgressionScript is the imperative script container.
triggered <on type="nearlydead">
void SetImage(csString tImage)
A specific MathEnvironment to be used in a MathScript.
SPELL_TYPE type
spell type...buff, debuff, etc.
csString name
the name of the spell
ProgressionScript(const char *name)
internal constructor for Create().
csString description
textual representation of the effect
The base expression class.
static ProgressionScript * Create(EntityManager *entitymanager, CacheManager *cachemanager, const char *name, const char *script)
create a progressionscript from a string containing a xml script
SCRIPT_TRIGGER
Events that can trigger scripts, i.e.
csPDelArray< AppliedOp > ops
all the sub-operations
const csString & GetName()
fetch the name of this progressionscript object
~ProgressionScript()
default destructor deletes all internally stored script operation object
csString image
graphical representation of the effect
ApplicativeScript is the applied script container.
This class manages the caching of data that is unchanging during server operation.
MathExpression * duration
an embedded MathExpression
A gemObject is any solid, graphical object visible in PS with normal physics and normal collision det...
triggered <on type="move">
csString aim
name of the MathScript var to aim at
triggered <on type="attack">
triggered <on type="defense">
void Run(MathEnvironment *env)
Run is executing the internally stored script.
csArray< ImperativeOp * > ops
script operation objects, warning: may have objects that contain further arrays of operations ...
csString name
name of the script object (identifier?)
This class embodies item instances in the game.