Exemplo n.º 1
0
        static int _g_get_WillOpenSkillHoles(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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

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



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

                    translator.Push(L, __cl_gen_ret);



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


            xc.SkillHoleManager __cl_gen_to_be_invoked = (xc.SkillHoleManager)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));
            }
        }
Exemplo n.º 5
0
        static int _m_GetNextWillOpenSkillHole(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    uint __cl_gen_ret = __cl_gen_to_be_invoked.GetNextWillOpenSkillHole(  );
                    LuaAPI.xlua_pushuint(L, __cl_gen_ret);



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


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


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

                    __cl_gen_to_be_invoked.DeleteSkill(skill_id);



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


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


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

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsHoleOpen(skil_hole);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



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


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


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

                    UnityEngine.Vector3 __cl_gen_ret = __cl_gen_to_be_invoked.GetSkillHolePosition(skill_id);
                    translator.PushUnityEngineVector3(L, __cl_gen_ret);



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


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


            try {
                {
                    uint skill_id = LuaAPI.xlua_touint(L, 2);
                    UnityEngine.GameObject widget = (UnityEngine.GameObject)translator.GetObject(L, 3, typeof(UnityEngine.GameObject));

                    float __cl_gen_ret = __cl_gen_to_be_invoked.GetScaleToSkillHole(skill_id, widget);
                    LuaAPI.lua_pushnumber(L, __cl_gen_ret);



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