master #3

Open
cacahuetes wants to merge 640 commits from liza/Questionable:master into cacahuetes-ShB-Healer
Showing only changes of commit 7348cee3c7 - Show all commits

View File

@ -16,7 +16,8 @@ internal sealed class QuestionableIpc : IDisposable
public QuestionableIpc(QuestController questController, IDalamudPluginInterface pluginInterface) public QuestionableIpc(QuestController questController, IDalamudPluginInterface pluginInterface)
{ {
_isRunning = pluginInterface.GetIpcProvider<bool>(IpcIsRunning); _isRunning = pluginInterface.GetIpcProvider<bool>(IpcIsRunning);
_isRunning.RegisterFunc(() => questController.IsRunning); _isRunning.RegisterFunc(() =>
questController.AutomationType != QuestController.EAutomationType.Manual || questController.IsRunning);
_getCurrentQuestId = pluginInterface.GetIpcProvider<string?>(IpcGetCurrentQuestId); _getCurrentQuestId = pluginInterface.GetIpcProvider<string?>(IpcGetCurrentQuestId);
_getCurrentQuestId.RegisterFunc(() => questController.CurrentQuest?.Quest.Id.ToString()); _getCurrentQuestId.RegisterFunc(() => questController.CurrentQuest?.Quest.Id.ToString());