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,25 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DiscordRPC.Message
{
/// <summary>
/// Called when some other person has requested access to this game. C -> D -> C.
/// </summary>
public class JoinRequestMessage : IMessage
{
/// <summary>
/// The type of message received from discord
/// </summary>
public override MessageType Type { get { return MessageType.JoinRequest; } }
/// <summary>
/// The discord user that is requesting access.
/// </summary>
[JsonProperty("user")]
public User User { get; internal set; }
}
}