Files
nadekobot/src/Nadeko.Bot.Modules.Searches/_common/SteamGameId.cs
2023-07-16 16:37:58 +00:00

35 lines
605 B
C#

#nullable disable
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
}