mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08: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
|
var playlistItem = new PlaylistItem
|
||||||
{
|
{
|
||||||
ID = item.ID,
|
ID = item.ID,
|
||||||
|
OwnerID = item.OwnerID,
|
||||||
Beatmap = { Value = beatmap },
|
Beatmap = { Value = beatmap },
|
||||||
Ruleset = { Value = ruleset },
|
Ruleset = { Value = ruleset },
|
||||||
Expired = item.Expired
|
Expired = item.Expired
|
||||||
|
@ -18,6 +18,9 @@ namespace osu.Game.Online.Rooms
|
|||||||
[JsonProperty("id")]
|
[JsonProperty("id")]
|
||||||
public long ID { get; set; }
|
public long ID { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("owner_id")]
|
||||||
|
public int OwnerID { get; set; }
|
||||||
|
|
||||||
[JsonProperty("beatmap_id")]
|
[JsonProperty("beatmap_id")]
|
||||||
public int BeatmapID { get; set; }
|
public int BeatmapID { get; set; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user