static int _s_set_OKWithToggleCallback(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.OKWithToggleCallback = translator.GetDelegate <xc.ui.ugui.UINoticeWindow.OkBtnWithToggleClickedDelegate>(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_ContentText(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.ContentText); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_CancelCallbackParam(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CancelCallbackParam = translator.GetObject(L, 2, typeof(object)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_ToggleIsOn(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.ToggleIsOn = 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_NoticeWindowType(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); translator.PushxcuiuguiUINoticeWindowEWindowType(L, __cl_gen_to_be_invoked.NoticeWindowType); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_NoticeWindowType(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UINoticeWindow __cl_gen_to_be_invoked = (xc.ui.ugui.UINoticeWindow)translator.FastGetCSObj(L, 1); xc.ui.ugui.UINoticeWindow.EWindowType __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.NoticeWindowType = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.ugui.UINoticeWindow __cl_gen_ret = new xc.ui.ugui.UINoticeWindow(); 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 xc.ui.ugui.UINoticeWindow constructor!")); }