static int _m_Jump(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); QP.Framework.SceneMgr gen_to_be_invoked = (QP.Framework.SceneMgr)translator.FastGetCSObj(L, 1); { string _moduleName = LuaAPI.lua_tostring(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); bool _isAsync = LuaAPI.lua_toboolean(L, 4); QP.Framework.SceneTable _table = (QP.Framework.SceneTable)translator.GetObject(L, 5, typeof(QP.Framework.SceneTable)); System.Action _complete = translator.GetDelegate <System.Action>(L, 6); gen_to_be_invoked.Jump(_moduleName, _sceneName, _isAsync, _table, _complete); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { QP.Framework.SceneMgr gen_ret = new QP.Framework.SceneMgr(); 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 QP.Framework.SceneMgr constructor!")); }