Add Honorific Support (#49)
* Add Honorific support * Update MareAPI * Update SettingsUi.cs
This commit is contained in:
@@ -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