Merge branch 'main' of https://github.com/Penumbra-Sync/client
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -70,6 +70,8 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
|
||||
private bool _palettePlusExists = false;
|
||||
|
||||
private bool _honorificExists = false;
|
||||
|
||||
private bool _penumbraExists = false;
|
||||
|
||||
private int _serverSelectionIndex = -1;
|
||||
@@ -103,6 +105,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
_customizePlusExists = _ipcManager.CheckCustomizePlusApi();
|
||||
_heelsExists = _ipcManager.CheckHeelsApi();
|
||||
_palettePlusExists = _ipcManager.CheckPalettePlusApi();
|
||||
_honorificExists = _ipcManager.CheckHonorificApi();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -601,6 +604,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
var heelsColor = _heelsExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var customizeColor = _customizePlusExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var paletteColor = _palettePlusExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var honorificColor = _honorificExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
ImGui.Text("Penumbra:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(penumbraColor, _penumbraExists ? "Available" : "Unavailable");
|
||||
@@ -621,6 +625,10 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
ImGui.Text("Palette+:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(paletteColor, _palettePlusExists ? "Available" : "Unavailable");
|
||||
ImGui.SameLine();
|
||||
ImGui.Text("Honorific:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(honorificColor, _honorificExists ? "Available" : "Unavailable");
|
||||
|
||||
if (!_penumbraExists || !_glamourerExists)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user