mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-05-30 07:47:51 +00:00
22 lines
618 B
C#
22 lines
618 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace DiscordRPC.Message
|
|
{
|
|
/// <summary>
|
|
/// Called when the Discord Client wishes for this process to join a game. D -> C.
|
|
/// </summary>
|
|
public class JoinMessage : IMessage
|
|
{
|
|
/// <summary>
|
|
/// The type of message received from discord
|
|
/// </summary>
|
|
public override MessageType Type
|
|
{ get { return MessageType.Join; } }
|
|
|
|
/// <summary>
|
|
/// The <see cref="Secrets.JoinSecret" /> to connect with.
|
|
/// </summary>
|
|
[JsonProperty("secret")]
|
|
public string Secret { get; internal set; }
|
|
}
|
|
} |