Esempio n. 1
0
        static int _s_set_OnTouched(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.GuideManager __cl_gen_to_be_invoked = (xc.GuideManager)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.OnTouched = translator.GetDelegate <xc.GuideManager.OnTouchedDelegate>(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Esempio n. 2
0
        static int _g_get_IsPlayingForcibleStep(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.GuideManager __cl_gen_to_be_invoked = (xc.GuideManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.IsPlayingForcibleStep);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Esempio n. 3
0
        static int _s_set_TestGuide(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.GuideManager __cl_gen_to_be_invoked = (xc.GuideManager)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.TestGuide = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Esempio n. 4
0
        static int _g_get_IgnoreRaycastGameObjects(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.GuideManager __cl_gen_to_be_invoked = (xc.GuideManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.IgnoreRaycastGameObjects);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Esempio n. 5
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.GuideManager __cl_gen_ret = new xc.GuideManager();
                    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.GuideManager constructor!"));
        }
Esempio n. 6
0
        static int _m_GetInstance_xlua_st_(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



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

                    translator.Push(L, __cl_gen_ret);



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


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


            try {
                {
                    __cl_gen_to_be_invoked.Update(  );



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


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


            try {
                {
                    System.Collections.Generic.List <uint> __cl_gen_ret = __cl_gen_to_be_invoked.GetPlayingGuides(  );
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 9
0
        static int _m_IsSysOpenPlaying(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


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



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 10
0
        static int _m_TryToResetGuideStep(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    Guide.Step guideStep = (Guide.Step)translator.GetObject(L, 2, typeof(Guide.Step));

                    __cl_gen_to_be_invoked.TryToResetGuideStep(guideStep);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 11
0
        static int _m_ForceReStartGuide(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    uint guide_id = LuaAPI.xlua_touint(L, 2);

                    __cl_gen_to_be_invoked.ForceReStartGuide(guide_id);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 12
0
        static int _m_IsWidgetTouched(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    UnityEngine.GameObject widget = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsWidgetTouched(widget);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 13
0
        static int _m_GetWidgetByPath(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    string path = LuaAPI.lua_tostring(L, 2);

                    UnityEngine.GameObject __cl_gen_ret = __cl_gen_to_be_invoked.GetWidgetByPath(path);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 14
0
        static int _m_IsTimelineFinish(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    uint timeline_id = LuaAPI.xlua_touint(L, 2);

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsTimelineFinish(timeline_id);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Esempio n. 15
0
        static int _m_StartGuide(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    uint guide_id = LuaAPI.xlua_touint(L, 2);
                    xc.GuideManager.WaitGuideFinishDelegate finish_cb = translator.GetDelegate <xc.GuideManager.WaitGuideFinishDelegate>(L, 3);

                    __cl_gen_to_be_invoked.StartGuide(guide_id, finish_cb);



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