public static int get_m_directionType(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardUIController.GraphicInfo graphicInfo = (BusinessCardUIController.GraphicInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushEnum(l, (int)graphicInfo.m_directionType);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_actionType(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardUIController.GraphicInfo graphicInfo = (BusinessCardUIController.GraphicInfo)LuaObject.checkSelf(l);
            HeroActionType actionType;
            LuaObject.checkEnum <HeroActionType>(l, 2, out actionType);
            graphicInfo.m_actionType = actionType;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_graphic(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardUIController.GraphicInfo graphicInfo = (BusinessCardUIController.GraphicInfo)LuaObject.checkSelf(l);
            UISpineGraphic graphic;
            LuaObject.checkType <UISpineGraphic>(l, 2, out graphic);
            graphicInfo.m_graphic = graphic;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            UISpineGraphic graphic;
            LuaObject.checkType <UISpineGraphic>(l, 2, out graphic);
            HeroDirectionType directionType;
            LuaObject.checkEnum <HeroDirectionType>(l, 3, out directionType);
            HeroActionType actionType;
            LuaObject.checkEnum <HeroActionType>(l, 4, out actionType);
            BusinessCardUIController.GraphicInfo o = new BusinessCardUIController.GraphicInfo(graphic, directionType, actionType);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }