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

        try
        {
            DataSectionHeroAssistants dataSectionHeroAssistants = (DataSectionHeroAssistants)LuaObject.checkSelf(l);
            dataSectionHeroAssistants.ClearInitedData();
            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
        {
            DataSectionHeroAssistants o = new DataSectionHeroAssistants();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_HeroAssistants(IntPtr l)
    {
        int result;

        try
        {
            DataSectionHeroAssistants dataSectionHeroAssistants = (DataSectionHeroAssistants)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dataSectionHeroAssistants.HeroAssistants);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SerializeToClient(IntPtr l)
    {
        int result;

        try
        {
            DataSectionHeroAssistants dataSectionHeroAssistants = (DataSectionHeroAssistants)LuaObject.checkSelf(l);
            object o = dataSectionHeroAssistants.SerializeToClient();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int UpdateInstantiatedData(IntPtr l)
    {
        int result;

        try
        {
            DataSectionHeroAssistants dataSectionHeroAssistants = (DataSectionHeroAssistants)LuaObject.checkSelf(l);
            DSHeroAssistantNtf        ds;
            LuaObject.checkType <DSHeroAssistantNtf>(l, 2, out ds);
            dataSectionHeroAssistants.UpdateInstantiatedData(ds);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_HeroAssistants(IntPtr l)
    {
        int result;

        try
        {
            DataSectionHeroAssistants dataSectionHeroAssistants = (DataSectionHeroAssistants)LuaObject.checkSelf(l);
            HeroAssistants            heroAssistants;
            LuaObject.checkType <HeroAssistants>(l, 2, out heroAssistants);
            dataSectionHeroAssistants.HeroAssistants = heroAssistants;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }