mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Add user beatmap availability property
This commit is contained in:
parent
8bb84570df
commit
09e5e2629a
@ -5,6 +5,7 @@
|
||||
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Game.Online.Rooms;
|
||||
using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Online.Multiplayer
|
||||
@ -16,6 +17,11 @@ namespace osu.Game.Online.Multiplayer
|
||||
|
||||
public MultiplayerUserState State { get; set; } = MultiplayerUserState.Idle;
|
||||
|
||||
/// <summary>
|
||||
/// The availability state of the beatmap, set to <see cref="DownloadState.LocallyAvailable"/> by default.
|
||||
/// </summary>
|
||||
public BeatmapAvailability BeatmapAvailability { get; set; } = new BeatmapAvailability(DownloadState.LocallyAvailable);
|
||||
|
||||
public User? User { get; set; }
|
||||
|
||||
[JsonConstructor]
|
||||
|
Loading…
Reference in New Issue
Block a user