Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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!"));
        }
Beispiel #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!"));
        }
Beispiel #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));
            }
        }
Beispiel #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));
            }
        }