mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-07-12 02:19:12 +00:00
First commit
This commit is contained in:
32
DiscordAPI/Configuration.cs
Normal file
32
DiscordAPI/Configuration.cs
Normal file
@ -0,0 +1,32 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user