Files
nadekobot/NadekoBot.Core/Modules/Searches/Common/SteamGameId.cs
2021-09-06 21:29:22 +02:00

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
}
}