ClassMScriptContext

From MaratisWiki
Revision as of 00:03, 8 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Category:Doxygen]None

Contents

virtual MScriptContext::~MScriptContext(void)

Destructor.

virtual void MScriptContext::runScript(const char *filename)=0

Run script.

virtual bool MScriptContext::startCallFunction(const char *name)=0

Start call function.

virtual bool MScriptContext::endCallFunction(int numArgs=0)=0

End call script function.

virtual void MScriptContext::callFunction(const char *name)=0

Call script function.

virtual void MScriptContext::addFunction(const char *name, int(*function)(void))=0

Add script function.

virtual unsigned int MScriptContext::getArgsNumber(void)=0

virtual void MScriptContext::getIntArray(unsigned int arg, int *values, unsigned int valuesNumber)=0

virtual void MScriptContext::getFloatArray(unsigned int arg, float *values, unsigned int valuesNumber)=0

virtual const char* MScriptContext::getString(unsigned int arg)=0

virtual int MScriptContext::getInteger(unsigned int arg)=0

virtual float MScriptContext::getFloat(unsigned int arg)=0

virtual void* MScriptContext::getPointer(unsigned int arg)=0

virtual void MScriptContext::pushIntArray(const int *values, unsigned int valuesNumber)=0

virtual void MScriptContext::pushFloatArray(const float *values, unsigned int valuesNumber)=0

virtual void MScriptContext::pushString(const char *string)=0

virtual void MScriptContext::pushBoolean(bool value)=0

virtual void MScriptContext::pushInteger(int value)=0

virtual void MScriptContext::pushFloat(float value)=0

virtual void MScriptContext::pushPointer(void *value)=0

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox