First commit

This commit is contained in:
EnderIce2
2020-10-25 16:19:43 +02:00
parent 9d78d84acb
commit b91db81473
73 changed files with 7634 additions and 0 deletions

View File

@ -0,0 +1,35 @@

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; }
}
}