Add owner id to PlaylistItem

This commit is contained in:
Dan Balasescu 2021-11-25 21:41:03 +09:00
parent 593f11d0ff
commit 8a941fa422
2 changed files with 4 additions and 0 deletions

View File

@ -718,6 +718,7 @@ namespace osu.Game.Online.Multiplayer
var playlistItem = new PlaylistItem
{
ID = item.ID,
OwnerID = item.OwnerID,
Beatmap = { Value = beatmap },
Ruleset = { Value = ruleset },
Expired = item.Expired

View File

@ -18,6 +18,9 @@ namespace osu.Game.Online.Rooms
[JsonProperty("id")]
public long ID { get; set; }
[JsonProperty("owner_id")]
public int OwnerID { get; set; }
[JsonProperty("beatmap_id")]
public int BeatmapID { get; set; }