Copy imported beatmaps into beatmap storage

This commit is contained in:
Drew DeVault
2016-10-13 10:15:08 -04:00
parent b7976dce46
commit fd10e6e582
5 changed files with 44 additions and 10 deletions

View File

@ -22,5 +22,7 @@ namespace osu.Game.Beatmaps
public BeatmapMetadata Metadata { get; set; }
[Ignore]
public User Creator { get; set; }
public string Hash { get; set; }
public string Path { get; set; }
}
}

View File

@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using Ionic.Zip;
using osu.Game.Beatmaps.Formats;
@ -20,7 +21,7 @@ namespace osu.Game.Beatmaps.IO
private ZipFile archive { get; set; }
private string[] beatmaps { get; set; }
private Beatmap firstMap { get; set; }
private Beatmap firstMap { get; set; }
public OszArchiveReader(Stream archiveStream)
{