Update model manager and many related classes to get things compiling again

This commit is contained in:
Dean Herbert
2021-12-14 19:47:11 +09:00
parent a3da8dc49d
commit 00e3af3366
34 changed files with 165 additions and 431 deletions

View File

@ -55,7 +55,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
AddStep("import beatmap", () =>
{
beatmaps.Import(TestResources.GetQuickTestBeatmapForImport()).WaitSafely();
importedSet = beatmaps.GetAllUsableBeatmapSetsEnumerable(IncludedDetails.All).First();
importedSet = beatmaps.GetAllUsableBeatmapSetsEnumerable().First();
importedBeatmap = importedSet.Beatmaps.First(b => b.RulesetID == 0);
});
@ -169,7 +169,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
private void addItemStep(bool expired = false) => AddStep("add item", () => Client.AddPlaylistItem(new MultiplayerPlaylistItem(new PlaylistItem
{
Beatmap = { Value = importedBeatmap },
BeatmapID = importedBeatmap.OnlineID ?? -1,
BeatmapID = importedBeatmap.OnlineID,
Expired = expired,
PlayedAt = DateTimeOffset.Now
})));