public AppState(SteamLibrary lib, VDFFile vdf) { Library = lib; AppId = int.Parse(vdf["AppState"]["appid"].Value); Name = vdf["AppState"]["name"].Value; SubDirectory = vdf["AppState"]["installdir"].Value; }
public AppState(SteamLibrary lib, string path) : this(lib, new VDFFile(path)) { }