static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { LuaTestMgr __cl_gen_ret = new LuaTestMgr(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to LuaTestMgr constructor!")); }
static int _m_RunTestScript(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaTestMgr __cl_gen_to_be_invoked = (LuaTestMgr)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.RunTestScript( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_TestPbc(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaTestMgr __cl_gen_to_be_invoked = (LuaTestMgr)translator.FastGetCSObj(L, 1); try { { byte[] data = LuaAPI.lua_tobytes(L, 2); __cl_gen_to_be_invoked.TestPbc(data); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Testu64(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaTestMgr __cl_gen_to_be_invoked = (LuaTestMgr)translator.FastGetCSObj(L, 1); try { { ulong a = LuaAPI.lua_touint64(L, 2); ulong b = LuaAPI.lua_touint64(L, 3); __cl_gen_to_be_invoked.Testu64(a, b); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }