forked from liza/Questionable
Update IsRunning IPC
This commit is contained in:
parent
b206863235
commit
7348cee3c7
3
Questionable/External/QuestionableIpc.cs
vendored
3
Questionable/External/QuestionableIpc.cs
vendored
@ -16,7 +16,8 @@ internal sealed class QuestionableIpc : IDisposable
|
||||
public QuestionableIpc(QuestController questController, IDalamudPluginInterface pluginInterface)
|
||||
{
|
||||
_isRunning = pluginInterface.GetIpcProvider<bool>(IpcIsRunning);
|
||||
_isRunning.RegisterFunc(() => questController.IsRunning);
|
||||
_isRunning.RegisterFunc(() =>
|
||||
questController.AutomationType != QuestController.EAutomationType.Manual || questController.IsRunning);
|
||||
|
||||
_getCurrentQuestId = pluginInterface.GetIpcProvider<string?>(IpcGetCurrentQuestId);
|
||||
_getCurrentQuestId.RegisterFunc(() => questController.CurrentQuest?.Quest.Id.ToString());
|
||||
|
Loading…
Reference in New Issue
Block a user