oops
authorJackson <9527380+Jaksuhn@users.noreply.github.com>
Wed, 5 Feb 2025 16:14:33 +0000 (17:14 +0100)
committerJackson <9527380+Jaksuhn@users.noreply.github.com>
Wed, 5 Feb 2025 16:14:33 +0000 (17:14 +0100)
Questionable/External/QuestionableIpc.cs

index cd9952594da7d7f8618ca3c1c151f321dfcf8a05..a48d20b6b33a3431a0f5c2b68814e0049e22cd78 100644 (file)
@@ -14,6 +14,7 @@ internal sealed class QuestionableIpc : IDisposable
     private const string IpcIsRunning = "Questionable.IsRunning";
     private const string IpcGetCurrentQuestId = "Questionable.GetCurrentQuestId";
     private const string IpcGetCurrentlyActiveEventQuests = "Questionable.GetCurrentlyActiveEventQuests";
+    private const string IpcStartQuest = "Questionable.StartQuest";
 
     private readonly ICallGateProvider<bool> _isRunning;
     private readonly ICallGateProvider<string?> _getCurrentQuestId;
@@ -37,7 +38,7 @@ internal sealed class QuestionableIpc : IDisposable
         _getCurrentlyActiveEventQuests.RegisterFunc(() =>
             eventInfoComponent.GetCurrentlyActiveEventQuests().Select(q => q.ToString()).ToList());
 
-        _startQuest = pluginInterface.GetIpcProvider<string, bool>("Questionable.StartQuest");
+        _startQuest = pluginInterface.GetIpcProvider<string, bool>(IpcStartQuest);
         _startQuest.RegisterFunc((string questId) => StartQuest(questController, questRegistry, questId));
     }