mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 12:54:14 +01:00
add moodles integration (temporary)
This commit is contained in:
parent
8bfbf4b582
commit
e94a2a7565
13 changed files with 183 additions and 26 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
using MareSynchronos.API.Data.Enum;
|
||||
|
||||
using System.Text;
|
||||
|
||||
namespace MareSynchronos.PlayerData.Data;
|
||||
|
||||
public class CharacterData
|
||||
|
|
@ -16,6 +14,7 @@ public class CharacterData
|
|||
public string HeelsData { get; set; } = string.Empty;
|
||||
public string HonorificData { get; set; } = string.Empty;
|
||||
public string ManipulationString { get; set; } = string.Empty;
|
||||
public string MoodlesData { get; set; } = string.Empty;
|
||||
|
||||
public API.Data.CharacterData ToAPI()
|
||||
{
|
||||
|
|
@ -44,17 +43,8 @@ public class CharacterData
|
|||
ManipulationData = ManipulationString,
|
||||
HeelsData = HeelsData,
|
||||
CustomizePlusData = CustomizePlusScale.ToDictionary(d => d.Key, d => d.Value),
|
||||
HonorificData = HonorificData
|
||||
HonorificData = HonorificData,
|
||||
PalettePlusData = MoodlesData
|
||||
};
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder stringBuilder = new();
|
||||
foreach (var fileReplacement in FileReplacements.SelectMany(k => k.Value).OrderBy(a => a.GamePaths.First(), StringComparer.Ordinal))
|
||||
{
|
||||
stringBuilder.Append(fileReplacement).AppendLine();
|
||||
}
|
||||
return stringBuilder.ToString();
|
||||
}
|
||||
}
|
||||
|
|
@ -8,5 +8,6 @@ public enum PlayerChanges
|
|||
Customize = 4,
|
||||
Heels = 5,
|
||||
Honorific = 7,
|
||||
ForcedRedraw = 8,
|
||||
Moodles = 8,
|
||||
ForcedRedraw = 9,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue