struct ScriptTemplateCallHelper { template <typename Callee, typename Func> struct CallDispatcher { }; };
ScriptHelpers.h
Helper template class. Handles dispatching of Lua to C script function callbacks to the specified member functions of the CScriptableBase.
template <typename Callee, typename Func> struct CallDispatcher { };
ScriptHelpers.h
static int Dispatch(IFunctionHandler * pH, void * pBuffer, int nSize);
template <typename Callee> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*), IFunctionHandler * pH);
template <typename Callee, typename P1> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8, typename P9> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9), IFunctionHandler * pH);
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9, P10), IFunctionHandler * pH);