static int _s_set_Window(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.IUIBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.IUIBehaviour)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Window = (xc.ui.ugui.UIBaseWindow)translator.GetObject(L, 2, typeof(xc.ui.ugui.UIBaseWindow)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_OldEnable(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.IUIBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.IUIBehaviour)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.OldEnable = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_isInit(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.IUIBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.IUIBehaviour)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.isInit); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _m_UpdateBehaviour(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.IUIBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.IUIBehaviour)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.UpdateBehaviour( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }