static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { IFramework.Lua.BaseTest gen_ret = new IFramework.Lua.BaseTest(); translator.Push(L, 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 IFramework.Lua.BaseTest constructor!")); }
static int _m_ToString(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Lua.BaseTest gen_to_be_invoked = (IFramework.Lua.BaseTest)translator.FastGetCSObj(L, 1); { string gen_ret = gen_to_be_invoked.ToString( ); LuaAPI.lua_pushstring(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Proxy(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Lua.BaseTest gen_to_be_invoked = (IFramework.Lua.BaseTest)translator.FastGetCSObj(L, 1); { int _p = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.Proxy(_p); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }