diff --git a/FFXIVPlugin/IPC/Subscribers/PenumbraIPC.cs b/FFXIVPlugin/IPC/Subscribers/PenumbraIPC.cs index 5ccd5af..23db4a3 100644 --- a/FFXIVPlugin/IPC/Subscribers/PenumbraIPC.cs +++ b/FFXIVPlugin/IPC/Subscribers/PenumbraIPC.cs @@ -16,7 +16,7 @@ internal class PenumbraIPC : IPluginIpcClient { public int Version { get; private set; } = -1; private ICallGateSubscriber<(int BreakingVersion, int Version)>? _penumbraApiVersionsSubscriber; - private ICallGateSubscriber? _penumbraResolveDefaultSubscriber; + private ICallGateSubscriber? _penumbraResolveInterfaceSubscriber; private readonly ICallGateSubscriber _penumbraRegisteredSubscriber; @@ -39,7 +39,7 @@ public void Dispose() { // explicitly reset to null so that any future calls fail gracefully this._penumbraApiVersionsSubscriber = null; - this._penumbraResolveDefaultSubscriber = null; + this._penumbraResolveInterfaceSubscriber = null; this.Enabled = false; @@ -53,7 +53,7 @@ private void _initializeIpc() { } this._penumbraApiVersionsSubscriber = Injections.PluginInterface.GetIpcSubscriber<(int, int)>("Penumbra.ApiVersions"); - this._penumbraResolveDefaultSubscriber = Injections.PluginInterface.GetIpcSubscriber("Penumbra.ResolveDefaultPath"); + this._penumbraResolveInterfaceSubscriber = Injections.PluginInterface.GetIpcSubscriber("Penumbra.ResolveInterfacePath"); try { (var breakingVersion, this.Version) = this._penumbraApiVersionsSubscriber.InvokeFunc(); @@ -67,12 +67,12 @@ private void _initializeIpc() { } public string ResolvePenumbraPath(string path) { - if (!this.Enabled || this._penumbraResolveDefaultSubscriber == null) return path; + if (!this.Enabled || this._penumbraResolveInterfaceSubscriber == null) return path; try { - return this._penumbraResolveDefaultSubscriber.InvokeFunc(path); + return this._penumbraResolveInterfaceSubscriber.InvokeFunc(path); } catch (IpcNotReadyError) { - PluginLog.Debug("Got a NotReadyError trying to call ResolveDefaultPath. Falling back to normal path"); + PluginLog.Debug("Got a NotReadyError trying to call ResolveInterfacePath. Falling back to normal path"); return path; } catch (Exception ex) { PluginLog.Error(ex, "Failed to invoke Penumbra IPC, disabling!"); diff --git a/FFXIVPlugin/Resources/Localization/UIStrings.Designer.cs b/FFXIVPlugin/Resources/Localization/UIStrings.Designer.cs index d565bbf..1e544d3 100644 --- a/FFXIVPlugin/Resources/Localization/UIStrings.Designer.cs +++ b/FFXIVPlugin/Resources/Localization/UIStrings.Designer.cs @@ -513,7 +513,7 @@ internal static string SettingsWindow_ApplyButton { } /// - /// Looks up a localized string similar to Use Penumbra Icons. + /// Looks up a localized string similar to Enable Penumbra Integration. /// internal static string SettingsWindow_EnablePenumbraIPC { get { diff --git a/FFXIVPlugin/Resources/Localization/UIStrings.resx b/FFXIVPlugin/Resources/Localization/UIStrings.resx index 8c5f057..1bfa728 100644 --- a/FFXIVPlugin/Resources/Localization/UIStrings.resx +++ b/FFXIVPlugin/Resources/Localization/UIStrings.resx @@ -105,7 +105,7 @@ "Illegal commands" in this case mean commands that normally cannot be sent to the game and may cause damage or harm if proper care is not taken. - Use Penumbra Icons + Enable Penumbra Integration Setting to enable integration with another app named Penumbra.