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


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



                {
                    UnityEngine.Rect    _contentRect; translator.Get(L, 2, out _contentRect);
                    UnityEngine.Vector2 _localPoint; translator.Get(L, 3, out _localPoint);

                    bool gen_ret = gen_to_be_invoked.HitTest(_contentRect, _localPoint);
                    LuaAPI.lua_pushboolean(L, gen_ret);



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

                FairyGUI.ShapeHitTest gen_to_be_invoked = (FairyGUI.ShapeHitTest)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.shape);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int _s_set_shape(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.ShapeHitTest gen_to_be_invoked = (FairyGUI.ShapeHitTest)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.shape = (FairyGUI.DisplayObject)translator.GetObject(L, 2, typeof(FairyGUI.DisplayObject));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 2 && translator.Assignable <FairyGUI.DisplayObject>(L, 2))
                {
                    FairyGUI.DisplayObject _obj = (FairyGUI.DisplayObject)translator.GetObject(L, 2, typeof(FairyGUI.DisplayObject));

                    FairyGUI.ShapeHitTest gen_ret = new FairyGUI.ShapeHitTest(_obj);
                    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.ShapeHitTest constructor!"));
        }