mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-05-25 19:44:27 +00:00
33 lines
711 B
C#
33 lines
711 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace DiscordRPC
|
|
{
|
|
/// <summary>
|
|
/// Configuration of the current RPC connection
|
|
/// </summary>
|
|
public class Configuration
|
|
{
|
|
/// <summary>
|
|
/// The Discord API endpoint that should be used.
|
|
/// </summary>
|
|
[JsonProperty("api_endpoint")]
|
|
public string ApiEndpoint { get; set; }
|
|
|
|
/// <summary>
|
|
/// The CDN endpoint
|
|
/// </summary>
|
|
[JsonProperty("cdn_host")]
|
|
public string CdnHost { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of enviroment the connection on. Usually Production.
|
|
/// </summary>
|
|
[JsonProperty("enviroment")]
|
|
public string Enviroment { get; set; }
|
|
}
|
|
}
|