static int _m_Run(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ControllerAction gen_to_be_invoked = (FairyGUI.ControllerAction)translator.FastGetCSObj(L, 1); { FairyGUI.Controller _controller = (FairyGUI.Controller)translator.GetObject(L, 2, typeof(FairyGUI.Controller)); string _prevPage = LuaAPI.lua_tostring(L, 3); string _curPage = LuaAPI.lua_tostring(L, 4); gen_to_be_invoked.Run( _controller, _prevPage, _curPage); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_toPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ControllerAction gen_to_be_invoked = (FairyGUI.ControllerAction)translator.FastGetCSObj(L, 1); gen_to_be_invoked.toPage = (string[])translator.GetObject(L, 2, typeof(string[])); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_toPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ControllerAction gen_to_be_invoked = (FairyGUI.ControllerAction)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.toPage); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.ControllerAction gen_ret = new FairyGUI.ControllerAction(); 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 FairyGUI.ControllerAction constructor!")); }
static int _m_CreateAction_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { FairyGUI.ControllerAction.ActionType _type; translator.Get(L, 1, out _type); FairyGUI.ControllerAction gen_ret = FairyGUI.ControllerAction.CreateAction(_type); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Setup(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ControllerAction gen_to_be_invoked = (FairyGUI.ControllerAction)translator.FastGetCSObj(L, 1); { FairyGUI.Utils.ByteBuffer _buffer = (FairyGUI.Utils.ByteBuffer)translator.GetObject(L, 2, typeof(FairyGUI.Utils.ByteBuffer)); gen_to_be_invoked.Setup(_buffer); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }