From 70109e1896217f23cad95d632ce84b5883f90ca9 Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Sun, 3 May 2026 21:07:05 +0200 Subject: [PATCH] refactor(ipc): rename IPC channels from ChatTwo.* to HellionChat.* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All 6 inter-plugin communication channels are renamed for the v1.0.0 standalone cut. Prevents Dalamud IPC registration conflicts when a user has both Hellion Chat and upstream Chat 2 installed. - IpcManager: Register, Available, Unregister, Invoke - TypingIpc: GetChatInputState, ChatInputStateChanged Breaking change for third-party plugins that bound to ChatTwo.* — none known at the time of this commit. --- ChatTwo/Ipc/TypingIpc.cs | 4 ++-- ChatTwo/IpcManager.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChatTwo/Ipc/TypingIpc.cs b/ChatTwo/Ipc/TypingIpc.cs index a367da6..6a97933 100644 --- a/ChatTwo/Ipc/TypingIpc.cs +++ b/ChatTwo/Ipc/TypingIpc.cs @@ -19,8 +19,8 @@ internal sealed class TypingIpc : IDisposable { Plugin = plugin; - StateQueryGate = Plugin.Interface.GetIpcProvider("ChatTwo.GetChatInputState"); - StateChangedGate = Plugin.Interface.GetIpcProvider("ChatTwo.ChatInputStateChanged"); + StateQueryGate = Plugin.Interface.GetIpcProvider("HellionChat.GetChatInputState"); + StateChangedGate = Plugin.Interface.GetIpcProvider("HellionChat.ChatInputStateChanged"); StateQueryGate.RegisterFunc(GetState); } diff --git a/ChatTwo/IpcManager.cs b/ChatTwo/IpcManager.cs index 06d653b..5f4cb24 100755 --- a/ChatTwo/IpcManager.cs +++ b/ChatTwo/IpcManager.cs @@ -15,15 +15,15 @@ internal sealed class IpcManager : IDisposable public IpcManager() { - RegisterGate = Plugin.Interface.GetIpcProvider("ChatTwo.Register"); + RegisterGate = Plugin.Interface.GetIpcProvider("HellionChat.Register"); RegisterGate.RegisterFunc(Register); - AvailableGate = Plugin.Interface.GetIpcProvider("ChatTwo.Available"); + AvailableGate = Plugin.Interface.GetIpcProvider("HellionChat.Available"); - UnregisterGate = Plugin.Interface.GetIpcProvider("ChatTwo.Unregister"); + UnregisterGate = Plugin.Interface.GetIpcProvider("HellionChat.Unregister"); UnregisterGate.RegisterAction(Unregister); - InvokeGate = Plugin.Interface.GetIpcProvider("ChatTwo.Invoke"); + InvokeGate = Plugin.Interface.GetIpcProvider("HellionChat.Invoke"); AvailableGate.SendMessage(); }