mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
35 lines
700 B
C#
35 lines
700 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace NadekoBot.Modules.Searches
|
|
{
|
|
public class SteamGameId
|
|
{
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("appid")]
|
|
public int AppId { get; set; }
|
|
}
|
|
|
|
public class SteamGameData
|
|
{
|
|
public string ShortDescription { get; set; }
|
|
|
|
public class Container
|
|
{
|
|
[JsonProperty("success")]
|
|
public bool Success { get; set; }
|
|
|
|
[JsonProperty("data")]
|
|
public SteamGameData Data { get; set; }
|
|
}
|
|
}
|
|
|
|
public enum TimeErrors
|
|
{
|
|
InvalidInput,
|
|
ApiKeyMissing,
|
|
NotFound,
|
|
Unknown
|
|
}
|
|
} |