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

        try
        {
            DataSectionRift dataSectionRift = (DataSectionRift)LuaObject.checkSelf(l);
            List <int>      achievementRelationIds;
            LuaObject.checkType <List <int> >(l, 2, out achievementRelationIds);
            DateTime updateTime;
            LuaObject.checkValueType <DateTime>(l, 3, out updateTime);
            int lastRiftAchievment;
            LuaObject.checkType(l, 4, out lastRiftAchievment);
            dataSectionRift.InitAchievementRelationIds(achievementRelationIds, updateTime, lastRiftAchievment);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }