static int _m_SetPlaySettings(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    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));
            }
        }
예제 #2
0
        static StackObject *SetPlaySettings_20(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 5);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @endAt = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @times = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.Int32 @end = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            System.Int32 @start = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
            FairyGUI.GMovieClip instance_of_this_method = (FairyGUI.GMovieClip) typeof(FairyGUI.GMovieClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetPlaySettings(@start, @end, @times, @endAt);

            return(__ret);
        }