mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 02:24:15 +01:00
somewhat working integration of penumbra
This commit is contained in:
parent
99e80aeb4d
commit
0fe3f1cf25
10 changed files with 275 additions and 327 deletions
|
|
@ -19,7 +19,8 @@ namespace MareSynchronos.Models
|
|||
FileReplacements = AllReplacements.Select(f => f.ToFileReplacementDto()).ToList(),
|
||||
GlamourerData = GlamourerString,
|
||||
Hash = CacheHash,
|
||||
JobId = (int)JobId
|
||||
JobId = (int)JobId,
|
||||
ManipulationData = ManipulationString
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -34,13 +35,15 @@ namespace MareSynchronos.Models
|
|||
public List<FileReplacement> FileReplacements { get; set; } = new List<FileReplacement>();
|
||||
|
||||
[JsonProperty]
|
||||
public string GlamourerString { get; private set; } = string.Empty;
|
||||
public string GlamourerString { get; set; } = string.Empty;
|
||||
|
||||
public bool IsReady => FileReplacements.All(f => f.Computed);
|
||||
|
||||
[JsonProperty]
|
||||
public string CacheHash { get; set; } = string.Empty;
|
||||
|
||||
public string ManipulationString { get; set; } = string.Empty;
|
||||
|
||||
[JsonProperty]
|
||||
public uint JobId { get; set; } = 0;
|
||||
public void AddAssociatedResource(FileReplacement resource, FileReplacement? mdlParent, FileReplacement? mtrlParent)
|
||||
|
|
@ -93,10 +96,6 @@ namespace MareSynchronos.Models
|
|||
}
|
||||
}
|
||||
|
||||
public void SetGlamourerData(string glamourerString)
|
||||
{
|
||||
GlamourerString = glamourerString;
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder stringBuilder = new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue