mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-05-25 21:04:26 +00:00
24 lines
465 B
C#
24 lines
465 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace DiscordRPC.RPC.Payload
|
|
{
|
|
internal class ClosePayload : IPayload
|
|
{
|
|
/// <summary>
|
|
/// The close code the discord gave us
|
|
/// </summary>
|
|
[JsonProperty("code")]
|
|
public int Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// The close reason discord gave us
|
|
/// </summary>
|
|
[JsonProperty("message")]
|
|
public string Reason { get; set; }
|
|
}
|
|
}
|