SearchResultView and DownloadView implemented;
Ignore whitespaces and special chars when looking for games;
This commit is contained in:
parent
aada82693d
commit
73baa27245
26 changed files with 783 additions and 642 deletions
|
@ -1,30 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using auto_creamapi.Utils;
|
||||
using IniParser;
|
||||
using IniParser.Model;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace auto_creamapi.Models
|
||||
{
|
||||
public class CreamConfig
|
||||
{
|
||||
public CreamConfig()
|
||||
{
|
||||
DlcList = new List<SteamApp>();
|
||||
}
|
||||
|
||||
public int AppId { get; set; }
|
||||
public string Language { get; set; }
|
||||
public bool UnlockAll { get; set; }
|
||||
public bool ExtraProtection { get; set; }
|
||||
public bool ForceOffline { get; set; }
|
||||
public List<SteamApp> DlcList { get; set; }
|
||||
|
||||
public CreamConfig()
|
||||
{
|
||||
DlcList = new List<SteamApp>();
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class CreamConfigModel
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,18 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
using System.Threading.Tasks;
|
||||
using auto_creamapi.Services;
|
||||
using auto_creamapi.Utils;
|
||||
|
||||
namespace auto_creamapi.Models
|
||||
{
|
||||
internal class CreamDll
|
||||
{
|
||||
public readonly string Filename;
|
||||
public readonly string OrigFilename;
|
||||
public readonly string Hash;
|
||||
public readonly string OrigFilename;
|
||||
|
||||
public CreamDll(string filename, string origFilename)
|
||||
{
|
||||
|
@ -30,8 +26,8 @@ namespace auto_creamapi.Models
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class CreamDllModel
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -1,16 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using MvvmCross.ViewModels;
|
||||
|
||||
namespace auto_creamapi.Models
|
||||
{
|
||||
public class SteamApp
|
||||
{
|
||||
[JsonPropertyName("appid")]
|
||||
public int AppId { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
[JsonPropertyName("appid")] public int AppId { get; set; }
|
||||
|
||||
[JsonPropertyName("name")] public string Name { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
@ -26,13 +23,11 @@ namespace auto_creamapi.Models
|
|||
|
||||
public class AppList
|
||||
{
|
||||
[JsonPropertyName("apps")]
|
||||
public List<SteamApp> Apps { get; set; }
|
||||
[JsonPropertyName("apps")] public List<SteamApp> Apps { get; set; }
|
||||
}
|
||||
|
||||
public class SteamApps
|
||||
{
|
||||
[JsonPropertyName("applist")]
|
||||
public AppList AppList { get; set; }
|
||||
[JsonPropertyName("applist")] public AppList AppList { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue