static int _m_CloseAllWindowExcept(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool record = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.CloseAllWindowExcept(record); return(0); } if (__gen_param_count == 1) { __cl_gen_to_be_invoked.CloseAllWindowExcept( ); return(0); } } 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.UIManager.CloseAllWindowExcept!")); }
static int _s_set_IsBackMainMapShowWin(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.IsBackMainMapShowWin = LuaAPI.lua_tostring(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_LoadingWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.LoadingWindow = (xc.ui.ugui.UILoadingWindow)translator.GetObject(L, 2, typeof(xc.ui.ugui.UILoadingWindow)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_AllWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.AllWindow); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.ugui.UIManager __cl_gen_ret = new xc.ui.ugui.UIManager(); 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.UIManager constructor!")); }
static int _m_Dispose(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.Dispose( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetInstance_xlua_st_(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { { xc.ui.ugui.UIManager __cl_gen_ret = xc.Singleton <xc.ui.ugui.UIManager> .GetInstance( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_TryCloseAllWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { bool __cl_gen_ret = __cl_gen_to_be_invoked.TryCloseAllWindow( ); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SwitchUI(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { string uiName = LuaAPI.lua_tostring(L, 2); bool hideLoadingBk = LuaAPI.lua_toboolean(L, 3); System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.SwitchUI(uiName, hideLoadingBk); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { string uiName = LuaAPI.lua_tostring(L, 2); System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.SwitchUI(uiName); 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.UIManager.SwitchUI!")); }
static int _m_UpdateLoadingBar(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { double process = LuaAPI.lua_tonumber(L, 2); __cl_gen_to_be_invoked.UpdateLoadingBar(process); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ShowLoadingBK(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { bool isShow = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.ShowLoadingBK(isShow); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_CloseWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { string name = LuaAPI.lua_tostring(L, 2); __cl_gen_to_be_invoked.CloseWindow(name); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_RemoveWindowDynOrder(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { xc.ui.ugui.UIBaseWindow win = (xc.ui.ugui.UIBaseWindow)translator.GetObject(L, 2, typeof(xc.ui.ugui.UIBaseWindow)); __cl_gen_to_be_invoked.RemoveWindowDynOrder(win); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ShowWaitScreen(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 3 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { bool isShow = LuaAPI.lua_toboolean(L, 2); float wait_time = (float)LuaAPI.lua_tonumber(L, 3); __cl_gen_to_be_invoked.ShowWaitScreen(isShow, wait_time); return(0); } if (__gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool isShow = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.ShowWaitScreen(isShow); return(0); } } 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.UIManager.ShowWaitScreen!")); }
static int _m_CloseSysWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { string winName = LuaAPI.lua_tostring(L, 2); bool isPlayMainMapAni = LuaAPI.lua_toboolean(L, 3); __cl_gen_to_be_invoked.CloseSysWindow(winName, isPlayMainMapAni); return(0); } if (__gen_param_count == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { string winName = LuaAPI.lua_tostring(L, 2); __cl_gen_to_be_invoked.CloseSysWindow(winName); return(0); } } 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.UIManager.CloseSysWindow!")); }
static int _m_GetPlaneDistance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { int orderInLayer = LuaAPI.xlua_tointeger(L, 2); float __cl_gen_ret = __cl_gen_to_be_invoked.GetPlaneDistance(orderInLayer); LuaAPI.lua_pushnumber(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_IsOpenedSysWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { string wnd_name = LuaAPI.lua_tostring(L, 2); bool __cl_gen_ret = __cl_gen_to_be_invoked.IsOpenedSysWindow(wnd_name); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ShowSysWindow(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { string winName = LuaAPI.lua_tostring(L, 2); object[] param = translator.GetParams <object>(L, 3); __cl_gen_to_be_invoked.ShowSysWindow(winName, param); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetLayerInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { xc.ui.ugui.UIType type; translator.Get(L, 2, out type); xc.ui.ugui.UILayerInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetLayerInfo(type); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetNeedCloseSystemWindowsByType(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { xc.ui.ugui.UIType uiType; translator.Get(L, 2, out uiType); System.Collections.Generic.List <xc.ui.ugui.UIBaseWindow> __cl_gen_ret = __cl_gen_to_be_invoked.GetNeedCloseSystemWindowsByType(uiType); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }