struct Script { };
ScriptHelpers.h
Script call helper.
static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func);
template <class P1> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1);
template <class P1,class P2> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2);
template <class P1,class P2,class P3> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3);
template <class P1,class P2,class P3,class P4> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4);
template <class P1,class P2,class P3,class P4, class P5> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, const P5 & p5);
template <class P1,class P2,class P3,class P4, class P5, class P6> static bool Call(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, const P5 & p5, const P6 & p6);
static bool Call(IScriptSystem * pSS, const char* funcName);
static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func);
Call to table.
template <class P1> static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func, const P1 & p1);
template <class P1,class P2> static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2);
template <class P1,class P2,class P3> static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3);
template <class P1,class P2,class P3,class P4> static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4);
template <class P1,class P2,class P3,class P4,class P5> static bool CallMethod(IScriptTable * pTable, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, const P5& p5);
static bool CallMethod(IScriptTable * pTable, const char* sMethod);
Parameters |
Description |
IScriptTable * pTable |
must not be 0 |
Call to table.
template <class P1> static bool CallMethod(IScriptTable * pTable, const char* sMethod, const P1 & p1);
Parameters |
Description |
IScriptTable * pTable |
must not be 0 |
template <class P1,class P2> static bool CallMethod(IScriptTable * pTable, const char* sMethod, const P1 & p1, const P2 & p2);
template <class P1,class P2,class P3> static bool CallMethod(IScriptTable * pTable, const char* sMethod, const P1 & p1, const P2 & p2, const P3 & p3);
template <class P1,class P2,class P3,class P4> static bool CallMethod(IScriptTable * pTable, const char* sMethod, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4);
template <class P1,class P2,class P3,class P4,class P5> static bool CallMethod(IScriptTable * pTable, const char* sMethod, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, const P5& p5);
template <class P1,class P2,class P3,class P4,class P5,class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, const P5 & p5, Ret & ret);
template <class P1,class P2,class P3,class P4,class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, const P4 & p4, Ret & ret);
template <class P1,class P2,class P3,class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, const P3 & p3, Ret & ret);
template <class P1,class P2,class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, const P2 & p2, Ret & ret);
template <class P1,class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, const P1 & p1, Ret & ret);
template <class Ret> static bool CallReturn(IScriptSystem * pSS, HSCRIPTFUNCTION func, Ret & ret);
static SmartScriptTable GetCachedTable(CScriptSetGetChain& chain, const char* fieldName);
static SmartScriptTable GetCachedTable(IFunctionHandler * pH, int funcParam);
static SmartScriptTable GetCachedTable(SmartScriptTable& table, const char* fieldName);
static SmartScriptTable SetCachedVector(const Vec3& value, CScriptSetGetChain& chain, const char* fieldName);
static SmartScriptTable SetCachedVector(const Vec3& value, IFunctionHandler * pH, int funcParam);
static SmartScriptTable SetCachedVector(const Vec3& value, SmartScriptTable& table, const char* fieldName);