mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:07:23 +01:00
Heels and C+ updates (#54)
* add heels and customize plus multi data * adjust customize plus api calls * adjustments to ipc for customize --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
parent
5543c7c7ad
commit
08a35c9152
11 changed files with 116 additions and 125 deletions
|
|
@ -6,17 +6,17 @@ namespace MareSynchronos.PlayerData.Data;
|
|||
|
||||
public class CharacterData
|
||||
{
|
||||
public string CustomizePlusScale { get; set; } = string.Empty;
|
||||
public Dictionary<ObjectKind, string> CustomizePlusScale { get; set; } = new();
|
||||
public Dictionary<ObjectKind, HashSet<FileReplacement>> FileReplacements { get; set; } = new();
|
||||
|
||||
public Dictionary<ObjectKind, string> GlamourerString { get; set; } = new();
|
||||
|
||||
public float HeelsOffset { get; set; } = 0f;
|
||||
public string HeelsData { get; set; } = string.Empty;
|
||||
public string HonorificData { get; set; } = string.Empty;
|
||||
public bool IsReady => FileReplacements.SelectMany(k => k.Value).All(f => f.Computed);
|
||||
|
||||
public string ManipulationString { get; set; } = string.Empty;
|
||||
public string PalettePlusPalette { get; set; } = string.Empty;
|
||||
public string HonorificData { get; set; } = string.Empty;
|
||||
|
||||
public API.Data.CharacterData ToAPI()
|
||||
{
|
||||
|
|
@ -40,8 +40,8 @@ public class CharacterData
|
|||
FileReplacements = fileReplacements,
|
||||
GlamourerData = GlamourerString.ToDictionary(d => d.Key, d => d.Value),
|
||||
ManipulationData = ManipulationString,
|
||||
HeelsOffset = HeelsOffset,
|
||||
CustomizePlusData = CustomizePlusScale,
|
||||
HeelsData = HeelsData,
|
||||
CustomizePlusData = CustomizePlusScale.ToDictionary(d => d.Key, d => d.Value),
|
||||
PalettePlusData = PalettePlusPalette,
|
||||
HonorificData = HonorificData
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue