mirror of
https://github.com/ppy/osu
synced 2025-02-02 19:32:19 +00:00
22 lines
567 B
C#
22 lines
567 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||
|
// See the LICENCE file in the repository root for full licence text.
|
||
|
|
||
|
using Newtonsoft.Json;
|
||
|
using Newtonsoft.Json.Linq;
|
||
|
|
||
|
namespace osu.Game.Online.Notifications
|
||
|
{
|
||
|
[JsonObject(MemberSerialization.OptIn)]
|
||
|
public class SocketMessage
|
||
|
{
|
||
|
[JsonProperty("event")]
|
||
|
public string Event { get; set; } = null!;
|
||
|
|
||
|
[JsonProperty("data")]
|
||
|
public JObject? Data { get; set; }
|
||
|
|
||
|
[JsonProperty("error")]
|
||
|
public string? Error { get; set; }
|
||
|
}
|
||
|
}
|