Add Honorific Support (#49)

* Add Honorific support

* Update MareAPI

* Update SettingsUi.cs
This commit is contained in:
Cara 2023-04-20 17:17:19 +09:30 committed by GitHub
parent 2667a0b5d9
commit 6669247e22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 135 additions and 3 deletions

View file

@ -307,7 +307,18 @@ public class SettingsUi : WindowMediatorSubscriberBase
_lastTab = "Debug";
UiSharedService.FontText("Debug", _uiShared.UidFont);
#if DEBUG
if (LastCreatedCharacterData != null && ImGui.TreeNode("Last created character data"))
{
foreach (var l in JsonSerializer.Serialize(LastCreatedCharacterData, new JsonSerializerOptions() { WriteIndented = true }).Split('\n'))
{
ImGui.Text($"{l}");
}
ImGui.TreePop();
}
#endif
if (UiSharedService.IconTextButton(FontAwesomeIcon.Copy, "[DEBUG] Copy Last created Character Data to clipboard"))
{
if (LastCreatedCharacterData != null)