コード例 #1
0
        static int _g_get_PlayerLastSceneAvatarProperty(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.PlayerLastSceneAvatarProperty);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
コード例 #2
0
        static int _s_set_changeSkin(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.changeSkin = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
コード例 #3
0
        static int _m_Play(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);


            int __gen_param_count = LuaAPI.lua_gettop(L);

            try {
                if (__gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <System.Action>(L, 3) && translator.Assignable <xc.AvatarProperty>(L, 4))
                {
                    uint              id             = LuaAPI.xlua_touint(L, 2);
                    System.Action     finishCallback = translator.GetDelegate <System.Action>(L, 3);
                    xc.AvatarProperty avatarProperty = (xc.AvatarProperty)translator.GetObject(L, 4, typeof(xc.AvatarProperty));

                    __cl_gen_to_be_invoked.Play(id, finishCallback, avatarProperty);



                    return(0);
                }
                if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <System.Action>(L, 3))
                {
                    uint          id             = LuaAPI.xlua_touint(L, 2);
                    System.Action finishCallback = translator.GetDelegate <System.Action>(L, 3);

                    __cl_gen_to_be_invoked.Play(id, finishCallback);



                    return(0);
                }
                if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    uint id = LuaAPI.xlua_touint(L, 2);

                    __cl_gen_to_be_invoked.Play(id);



                    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.TimelineManager.Play!"));
        }
コード例 #4
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.TimelineManager __cl_gen_ret = new xc.TimelineManager();
                    translator.Push(L, __cl_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 xc.TimelineManager constructor!"));
        }
コード例 #5
0
        static int _m_Reset(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    __cl_gen_to_be_invoked.Reset(  );



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
コード例 #6
0
        static int _m_GetInstance_xlua_st_(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



            try {
                {
                    xc.TimelineManager __cl_gen_ret = xc.Singleton <xc.TimelineManager> .GetInstance(  );

                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
コード例 #7
0
        static int _m_OpenningTimelineHavePlayed(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    bool __cl_gen_ret = __cl_gen_to_be_invoked.OpenningTimelineHavePlayed(  );
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
コード例 #8
0
        static int _m_Preload(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);


            int __gen_param_count = LuaAPI.lua_gettop(L);

            try {
                if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <System.Action>(L, 3))
                {
                    uint          id             = LuaAPI.xlua_touint(L, 2);
                    System.Action finishCallback = translator.GetDelegate <System.Action>(L, 3);

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.Preload(id, finishCallback);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    uint id = LuaAPI.xlua_touint(L, 2);

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.Preload(id);
                    LuaAPI.lua_pushboolean(L, __cl_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 xc.TimelineManager.Preload!"));
        }
コード例 #9
0
        static int _m_AddFinishCallback(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.TimelineManager __cl_gen_to_be_invoked = (xc.TimelineManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    System.Action finishCallback = translator.GetDelegate <System.Action>(L, 2);

                    __cl_gen_to_be_invoked.AddFinishCallback(finishCallback);



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