CreamInstaller/CreamInstaller/Steam/AppDetails.cs
pointfeev 1815f1087d v3.2.2.0
- Large code refactoring and optimizations
- The more essential SteamCMD directories (config and userdata) will no longer be cleaned up by the program, hopefully to speed up the first call
- Games can now also use SteamCMD as a fallback similar to DLC (previously both steam store AND steamCMD output was required for games, now it's either OR)
2022-03-08 18:58:52 -05:00

54 lines
No EOL
1.1 KiB
C#

#pragma warning disable IDE1006 // Naming Styles
#pragma warning disable CA1002 // Do not expose generic lists
#pragma warning disable CA1707 // Identifiers should not contain underscores
#pragma warning disable CA2227 // Collection properties should be read only
using System.Collections.Generic;
namespace CreamInstaller.Steam;
public class Category
{
public int id { get; set; }
public string description { get; set; }
}
public class Genre
{
public string id { get; set; }
public string description { get; set; }
}
public class AppData
{
public string type { get; set; }
public string name { get; set; }
public int steam_appid { get; set; }
public List<int> dlc { get; set; }
public string header_image { get; set; }
public string website { get; set; }
public List<string> developers { get; set; }
public List<string> publishers { get; set; }
public List<int> packages { get; set; }
public List<Category> categories { get; set; }
public List<Genre> genres { get; set; }
}
public class AppDetails
{
public bool success { get; set; }
public AppData data { get; set; }
}