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


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



                {
                    long _id = LuaAPI.lua_toint64(L, 2);
                    UnityMMO.TimelineInfo        _info      = (UnityMMO.TimelineInfo)translator.GetObject(L, 3, typeof(UnityMMO.TimelineInfo));
                    Unity.Entities.EntityManager _entityMgr = (Unity.Entities.EntityManager)translator.GetObject(L, 4, typeof(Unity.Entities.EntityManager));

                    gen_to_be_invoked.AddTimeline(_id, _info, _entityMgr);



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

                UnityMMO.TimelineInfo gen_to_be_invoked = (UnityMMO.TimelineInfo)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.StateChange);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
예제 #3
0
        static int _s_set_Param(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityMMO.TimelineInfo gen_to_be_invoked = (UnityMMO.TimelineInfo)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.Param = (System.Collections.Generic.Dictionary <string, object>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <string, object>));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
예제 #4
0
        static int _s_set_StateChange(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityMMO.TimelineInfo gen_to_be_invoked = (UnityMMO.TimelineInfo)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.StateChange = translator.GetDelegate <System.Action <UnityMMO.TimelineInfo.Event> >(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
예제 #5
0
        static int _s_set_ResPath(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityMMO.TimelineInfo gen_to_be_invoked = (UnityMMO.TimelineInfo)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.ResPath = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
예제 #6
0
        static int _s_set_Owner(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityMMO.TimelineInfo gen_to_be_invoked = (UnityMMO.TimelineInfo)translator.FastGetCSObj(L, 1);
                Unity.Entities.Entity gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.Owner = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
예제 #7
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityMMO.TimelineInfo gen_ret = new UnityMMO.TimelineInfo();
                    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.TimelineInfo constructor!"));
        }