Пример #1
0
        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!"));
        }