Exemplo n.º 1
0
        static int _s_set_repeatDelay(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.repeatDelay = (float)LuaAPI.lua_tonumber(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemplo n.º 2
0
        static int _s_set_ignoreEngineTimeScale(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.ignoreEngineTimeScale = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemplo n.º 3
0
        static int _s_set_frames(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.frames = (FairyGUI.MovieClip.Frame[])translator.GetObject(L, 2, typeof(FairyGUI.MovieClip.Frame[]));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemplo n.º 4
0
        static int _g_get_timeScale(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.timeScale);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemplo n.º 5
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    FairyGUI.MovieClip gen_ret = new FairyGUI.MovieClip();
                    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 FairyGUI.MovieClip constructor!"));
        }
Exemplo n.º 6
0
        static int _m_SetPlaySettings(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 1)
                {
                    gen_to_be_invoked.SetPlaySettings(  );



                    return(0);
                }
                if (gen_param_count == 5 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
                {
                    int _start = LuaAPI.xlua_tointeger(L, 2);
                    int _end   = LuaAPI.xlua_tointeger(L, 3);
                    int _times = LuaAPI.xlua_tointeger(L, 4);
                    int _endAt = LuaAPI.xlua_tointeger(L, 5);

                    gen_to_be_invoked.SetPlaySettings(
                        _start,
                        _end,
                        _times,
                        _endAt);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.MovieClip.SetPlaySettings!"));
        }
Exemplo n.º 7
0
        static int _m_Rewind(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.Rewind(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Exemplo n.º 8
0
        static int _m_SyncStatus(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.MovieClip gen_to_be_invoked = (FairyGUI.MovieClip)translator.FastGetCSObj(L, 1);



                {
                    FairyGUI.MovieClip _anotherMc = (FairyGUI.MovieClip)translator.GetObject(L, 2, typeof(FairyGUI.MovieClip));

                    gen_to_be_invoked.SyncStatus(_anotherMc);



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