-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathReadyMessage.cs
More file actions
34 lines (30 loc) · 885 Bytes
/
ReadyMessage.cs
File metadata and controls
34 lines (30 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Newtonsoft.Json;
namespace DiscordRPC.Message
{
/// <summary>
/// Called when the ipc is ready to send arguments.
/// </summary>
public class ReadyMessage : IMessage
{
/// <summary>
/// The type of message received from discord
/// </summary>
public override MessageType Type
{ get { return MessageType.Ready; } }
/// <summary>
/// The configuration of the connection
/// </summary>
[JsonProperty("config")]
public Configuration Configuration { get; set; }
/// <summary>
/// User the connection belongs too
/// </summary>
[JsonProperty("user")]
public User User { get; set; }
/// <summary>
/// The version of the RPC
/// </summary>
[JsonProperty("v")]
public int Version { get; set; }
}
}