3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::ScriptRunner Class Reference

Class for prepare and execute a script. More...

Public Types

typedef std::set< Pack > packs_t

Public Member Functions

Pack::id_t push (const Pack &)
CScriptBuilder * builder ()
asIScriptEngine * engine ()
const packs_t & packs () const
packs_t::iterator lastPushedPack () const
bool has (const Pack &p) const
bool has (Pack::id_t id) const
Pack::id_t id (const Pack &) const
packs_t::iterator pack (Pack::id_t) const
void execute ()
void execute (Pack::id_t, const std::string &fn)
bool returnBool (Pack::id_t id) const
float returnNumber (Pack::id_t id) const
void callFromCmd (bool v)
bool callFromCmd () const
bool callFromScript () const
bool skipDialog () const

Static Public Member Functions

static ScriptRunnerinstance ()
static void executeOldOrPushNew (const std::string &code)
static bool old (const std::string &code)

Detailed Description

Class for prepare and execute a script.

See Also
The macros csDeclVarScriptRunner.