ClassMScriptContext
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doxybot-warning|MScriptContext}}</noinclude><includeonly> | <noinclude>{{doxybot-warning|MScriptContext}}</noinclude><includeonly> | ||
+ | {{doxybot-class|1=MScriptContext|2=Class used to manage script functions virtually. | ||
− | + | }} | |
− | + | {{doxybot-member|1=virtual MScriptContext::~MScriptContext(void)|2=Destructor. }} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::runScript(const char *filename)=0|2=Run script. }} | |
− | + | {{doxybot-member|1=virtual bool MScriptContext::startCallFunction(const char *name)=0|2=Start call function. }} | |
− | Destructor. | + | {{doxybot-member|1=virtual bool MScriptContext::endCallFunction(int numArgs=0)=0|2=End call script function. }} |
− | + | {{doxybot-member|1=virtual void MScriptContext::callFunction(const char *name)=0|2=Call script function. }} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::addFunction(const char *name, int(*function)(void))=0|2=Add script function. }} | |
− | + | {{doxybot-member|1=virtual unsigned int MScriptContext::getArgsNumber(void)=0|2=}} | |
− | Run script. | + | {{doxybot-member|1=virtual void MScriptContext::getIntArray(unsigned int arg, int *values, unsigned int valuesNumber)=0|2=}} |
− | + | {{doxybot-member|1=virtual void MScriptContext::getFloatArray(unsigned int arg, float *values, unsigned int valuesNumber)=0|2=}} | |
− | + | {{doxybot-member|1=virtual const char* MScriptContext::getString(unsigned int arg)=0|2=}} | |
− | + | {{doxybot-member|1=virtual int MScriptContext::getInteger(unsigned int arg)=0|2=}} | |
− | Start call function. | + | {{doxybot-member|1=virtual float MScriptContext::getFloat(unsigned int arg)=0|2=}} |
− | + | {{doxybot-member|1=virtual void* MScriptContext::getPointer(unsigned int arg)=0|2=}} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::pushIntArray(const int *values, unsigned int valuesNumber)=0|2=}} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::pushFloatArray(const float *values, unsigned int valuesNumber)=0|2=}} | |
− | End call script function. | + | {{doxybot-member|1=virtual void MScriptContext::pushString(const char *string)=0|2=}} |
− | + | {{doxybot-member|1=virtual void MScriptContext::pushBoolean(bool value)=0|2=}} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::pushInteger(int value)=0|2=}} | |
− | + | {{doxybot-member|1=virtual void MScriptContext::pushFloat(float value)=0|2=}} | |
− | Call script function. | + | {{doxybot-member|1=virtual void MScriptContext::pushPointer(void *value)=0|2=}} |
− | + | {{doxybot-categories}} | |
− | + | </includeonly> | |
− | + | ||
− | Add script function. | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 13:18, 8 February 2014
This page is automatically edited by Doxybot. Do not edit it manually, human! Edit instead the main page MScriptContext that it is trancluded into.