mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Add owner id to playlist items
This commit is contained in:
parent
4dd86f8619
commit
0633f3bcfe
@ -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
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user