예제 #1
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityMMO.LoadingView gen_ret = new UnityMMO.LoadingView();
                    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 UnityMMO.LoadingView constructor!"));
        }
예제 #2
0
        static int _m_ResetData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.LoadingView gen_to_be_invoked = (UnityMMO.LoadingView)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.ResetData(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
예제 #3
0
        static int _m_SetActive(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.LoadingView gen_to_be_invoked = (UnityMMO.LoadingView)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                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 _delayTime = (float)LuaAPI.lua_tonumber(L, 3);

                    gen_to_be_invoked.SetActive(_isShow, _delayTime);



                    return(0);
                }
                if (gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
                {
                    bool _isShow = LuaAPI.lua_toboolean(L, 2);

                    gen_to_be_invoked.SetActive(_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 UnityMMO.LoadingView.SetActive!"));
        }
예제 #4
0
        static int _m_SetPlaySpeed(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.LoadingView gen_to_be_invoked = (UnityMMO.LoadingView)translator.FastGetCSObj(L, 1);



                {
                    float _speed = (float)LuaAPI.lua_tonumber(L, 2);

                    gen_to_be_invoked.SetPlaySpeed(_speed);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
예제 #5
0
        static int _m_SetActive(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.LoadingView gen_to_be_invoked = (UnityMMO.LoadingView)translator.FastGetCSObj(L, 1);



                {
                    bool _isShow = LuaAPI.lua_toboolean(L, 2);

                    gen_to_be_invoked.SetActive(_isShow);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
예제 #6
0
        static int _m_SetData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.LoadingView gen_to_be_invoked = (UnityMMO.LoadingView)translator.FastGetCSObj(L, 1);



                {
                    float  _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    string _tipStr  = LuaAPI.lua_tostring(L, 3);

                    gen_to_be_invoked.SetData(_percent, _tipStr);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }