1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 07:27:25 +08:00

Add owner id to playlist items

This commit is contained in:
Dan Balasescu 2021-11-22 16:35:58 +09:00
parent 4dd86f8619
commit 0633f3bcfe
2 changed files with 4 additions and 0 deletions

View File

@ -720,6 +720,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; }