1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Rename property to LastLocalUpdate

This commit is contained in:
Dean Herbert 2022-08-16 16:01:19 +09:00
parent c7db4a532c
commit 11f38e539f
3 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ namespace osu.Game.Beatmaps
/// <summary> /// <summary>
/// The last time of a local modification (via the editor). /// The last time of a local modification (via the editor).
/// </summary> /// </summary>
public DateTimeOffset? LastUpdated { get; set; } public DateTimeOffset? LastLocalUpdate { get; set; }
/// <summary> /// <summary>
/// The last time online metadata was applied to this beatmap. /// The last time online metadata was applied to this beatmap.

View File

@ -314,7 +314,7 @@ namespace osu.Game.Beatmaps
beatmapInfo.MD5Hash = stream.ComputeMD5Hash(); beatmapInfo.MD5Hash = stream.ComputeMD5Hash();
beatmapInfo.Hash = stream.ComputeSHA2Hash(); beatmapInfo.Hash = stream.ComputeSHA2Hash();
beatmapInfo.LastUpdated = DateTimeOffset.Now; beatmapInfo.LastLocalUpdate = DateTimeOffset.Now;
beatmapInfo.Status = BeatmapOnlineStatus.LocallyModified; beatmapInfo.Status = BeatmapOnlineStatus.LocallyModified;
AddFile(setInfo, stream, createBeatmapFilenameFromMetadata(beatmapInfo)); AddFile(setInfo, stream, createBeatmapFilenameFromMetadata(beatmapInfo));

View File

@ -68,7 +68,7 @@ namespace osu.Game.Database
/// 20 2022-07-21 Added LastAppliedDifficultyVersion to RulesetInfo, changed default value of BeatmapInfo.StarRating to -1. /// 20 2022-07-21 Added LastAppliedDifficultyVersion to RulesetInfo, changed default value of BeatmapInfo.StarRating to -1.
/// 21 2022-07-27 Migrate collections to realm (BeatmapCollection). /// 21 2022-07-27 Migrate collections to realm (BeatmapCollection).
/// 22 2022-07-31 Added ModPreset. /// 22 2022-07-31 Added ModPreset.
/// 23 2022-08-01 Added LastUpdated to BeatmapInfo. /// 23 2022-08-01 Added LastLocalUpdate to BeatmapInfo.
/// </summary> /// </summary>
private const int schema_version = 23; private const int schema_version = 23;