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


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



                {
                    float _t = (float)LuaAPI.lua_tonumber(L, 2);

                    UnityEngine.Vector3 gen_ret = gen_to_be_invoked.GetPointAt(
                        _t);
                    translator.PushUnityEngineVector3(L, gen_ret);



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


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



                {
                    int _segmentIndex = LuaAPI.xlua_tointeger(L, 2);

                    float gen_ret = gen_to_be_invoked.GetSegmentLength(
                        _segmentIndex);
                    LuaAPI.lua_pushnumber(L, gen_ret);



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


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



                {
                    FairyGUI.GPath _value = (FairyGUI.GPath)translator.GetObject(L, 2, typeof(FairyGUI.GPath));

                    FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetPath(
                        _value);
                    translator.Push(L, gen_ret);



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


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


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 7 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && translator.Assignable <System.Collections.Generic.List <UnityEngine.Vector3> >(L, 5) && translator.Assignable <System.Collections.Generic.List <float> >(L, 6) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7))
                {
                    int   _segmentIndex = LuaAPI.xlua_tointeger(L, 2);
                    float _t0           = (float)LuaAPI.lua_tonumber(L, 3);
                    float _t1           = (float)LuaAPI.lua_tonumber(L, 4);
                    System.Collections.Generic.List <UnityEngine.Vector3> _points = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 5, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
                    System.Collections.Generic.List <float> _ts = (System.Collections.Generic.List <float>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List <float>));
                    float _pointDensity = (float)LuaAPI.lua_tonumber(L, 7);

                    gen_to_be_invoked.GetPointsInSegment(_segmentIndex, _t0, _t1, _points, _ts, _pointDensity);



                    return(0);
                }
                if (gen_param_count == 6 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && translator.Assignable <System.Collections.Generic.List <UnityEngine.Vector3> >(L, 5) && translator.Assignable <System.Collections.Generic.List <float> >(L, 6))
                {
                    int   _segmentIndex = LuaAPI.xlua_tointeger(L, 2);
                    float _t0           = (float)LuaAPI.lua_tonumber(L, 3);
                    float _t1           = (float)LuaAPI.lua_tonumber(L, 4);
                    System.Collections.Generic.List <UnityEngine.Vector3> _points = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 5, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
                    System.Collections.Generic.List <float> _ts = (System.Collections.Generic.List <float>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List <float>));

                    gen_to_be_invoked.GetPointsInSegment(_segmentIndex, _t0, _t1, _points, _ts);



                    return(0);
                }
                if (gen_param_count == 5 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && translator.Assignable <System.Collections.Generic.List <UnityEngine.Vector3> >(L, 5))
                {
                    int   _segmentIndex = LuaAPI.xlua_tointeger(L, 2);
                    float _t0           = (float)LuaAPI.lua_tonumber(L, 3);
                    float _t1           = (float)LuaAPI.lua_tonumber(L, 4);
                    System.Collections.Generic.List <UnityEngine.Vector3> _points = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 5, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));

                    gen_to_be_invoked.GetPointsInSegment(_segmentIndex, _t0, _t1, _points);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.GPath.GetPointsInSegment!"));
        }
Esempio n. 5
0
        static int _g_get_segmentCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.GPath gen_to_be_invoked = (FairyGUI.GPath)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.segmentCount);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Esempio n. 6
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    FairyGUI.GPath gen_ret = new FairyGUI.GPath();
                    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 FairyGUI.GPath constructor!"));
        }
Esempio n. 7
0
        static int _m_GetAllPoints(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 3 && translator.Assignable <System.Collections.Generic.List <UnityEngine.Vector3> >(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    System.Collections.Generic.List <UnityEngine.Vector3> _points = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
                    float _pointDensity = (float)LuaAPI.lua_tonumber(L, 3);

                    gen_to_be_invoked.GetAllPoints(
                        _points,
                        _pointDensity);



                    return(0);
                }
                if (gen_param_count == 2 && translator.Assignable <System.Collections.Generic.List <UnityEngine.Vector3> >(L, 2))
                {
                    System.Collections.Generic.List <UnityEngine.Vector3> _points = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));

                    gen_to_be_invoked.GetAllPoints(
                        _points);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.GPath.GetAllPoints!"));
        }
Esempio n. 8
0
        static int _m_Clear(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    gen_to_be_invoked.Clear(  );



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


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



                {
                    System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint> _points = (System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint>));

                    gen_to_be_invoked.Create(_points);



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


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


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 2 && translator.Assignable <FairyGUI.GPathPoint[]>(L, 2))
                {
                    FairyGUI.GPathPoint[] _points = (FairyGUI.GPathPoint[])translator.GetObject(L, 2, typeof(FairyGUI.GPathPoint[]));

                    gen_to_be_invoked.Create(_points);



                    return(0);
                }
                if (gen_param_count == 2 && translator.Assignable <System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint> >(L, 2))
                {
                    System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint> _points = (System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.IEnumerable <FairyGUI.GPathPoint>));

                    gen_to_be_invoked.Create(_points);



                    return(0);
                }
                if (gen_param_count == 3 && translator.Assignable <FairyGUI.GPathPoint>(L, 2) && translator.Assignable <FairyGUI.GPathPoint>(L, 3))
                {
                    FairyGUI.GPathPoint _pt1; translator.Get(L, 2, out _pt1);
                    FairyGUI.GPathPoint _pt2; translator.Get(L, 3, out _pt2);

                    gen_to_be_invoked.Create(_pt1, _pt2);



                    return(0);
                }
                if (gen_param_count == 4 && translator.Assignable <FairyGUI.GPathPoint>(L, 2) && translator.Assignable <FairyGUI.GPathPoint>(L, 3) && translator.Assignable <FairyGUI.GPathPoint>(L, 4))
                {
                    FairyGUI.GPathPoint _pt1; translator.Get(L, 2, out _pt1);
                    FairyGUI.GPathPoint _pt2; translator.Get(L, 3, out _pt2);
                    FairyGUI.GPathPoint _pt3; translator.Get(L, 4, out _pt3);

                    gen_to_be_invoked.Create(_pt1, _pt2, _pt3);



                    return(0);
                }
                if (gen_param_count == 5 && translator.Assignable <FairyGUI.GPathPoint>(L, 2) && translator.Assignable <FairyGUI.GPathPoint>(L, 3) && translator.Assignable <FairyGUI.GPathPoint>(L, 4) && translator.Assignable <FairyGUI.GPathPoint>(L, 5))
                {
                    FairyGUI.GPathPoint _pt1; translator.Get(L, 2, out _pt1);
                    FairyGUI.GPathPoint _pt2; translator.Get(L, 3, out _pt2);
                    FairyGUI.GPathPoint _pt3; translator.Get(L, 4, out _pt3);
                    FairyGUI.GPathPoint _pt4; translator.Get(L, 5, out _pt4);

                    gen_to_be_invoked.Create(_pt1, _pt2, _pt3, _pt4);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.GPath.Create!"));
        }