#if SMAPI_FOR_WINDOWS
using System.Collections.Generic;
namespace StardewModdingAPI.Toolkit.Framework.GameScanning
{
#pragma warning disable IDE1006 // Model requires lowercase naming.
#pragma warning disable CS8618 // Required for model.
/// Model for Steam's libraryfolders.vdf.
public class SteamLibraryCollection
{
/// Each entry identifies a different location that part of the Steam games library is installed to.
public LibraryFolders libraryfolders { get; set; }
}
/// A collection of LibraryFolders. Like a dictionary, but has contentstatsid used as an index also.
///
///
#pragma warning disable CS8714 // Required for model.
public class LibraryFolders : Dictionary
#pragma warning restore CS8714
{
/// Index of the library, starting from "0".
public string contentstatsid { get; set; }
}
/// A Steam library folder, containing information on the location and size of games installed there.
public class LibraryFolder
{
/// The escaped path to this Steam library folder. There will be a steam.exe here, but this may not be the one the player generally launches.
public string path { get; set; }
/// Label for the library, or ""
public string label { get; set; }
/// ~19-digit identifier.
public string contentid { get; set; }
/// Size of the library in bytes. May show 0 when size is non-zero.
public string totalsize { get; set; }
/// Used for downloads.
public string update_clean_bytes_tally { get; set; }
/// Normally "0".
public string time_last_update_corruption { get; set; }
/// List of Steam app IDs, and their current size in bytes.
public Dictionary apps { get; set; }
}
#pragma warning restore IDE1006
#pragma warning restore CS8618
}
#endif