mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:17:22 +01:00
connect to api only after login, add switching secret keys and inputting secret key during intro, fix filereplacements not working properly, adjust to the new web api
This commit is contained in:
parent
2ff224243a
commit
95f7e5f867
11 changed files with 206 additions and 93 deletions
|
|
@ -10,7 +10,15 @@ namespace MareSynchronos.Models
|
|||
public class CharacterData
|
||||
{
|
||||
[JsonProperty]
|
||||
public List<FileReplacement> AllReplacements => FileReplacements.Where(f => f.HasFileReplacement).GroupBy(f => f.Hash).Select(g => g.First()).ToList();
|
||||
public List<FileReplacement> AllReplacements => FileReplacements.Where(f => f.HasFileReplacement).GroupBy(f => f.Hash).Select(g =>
|
||||
{
|
||||
return new FileReplacement("")
|
||||
{
|
||||
ResolvedPath = g.First().ResolvedPath,
|
||||
GamePaths = g.SelectMany(g => g.GamePaths).Distinct().ToList(),
|
||||
Hash = g.First().Hash
|
||||
};
|
||||
}).ToList();
|
||||
|
||||
[JsonProperty]
|
||||
public string CacheHash { get; set; } = string.Empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue