_addonLifecycle.RegisterListener(AddonEvent.PostSetup, "MultipleHelpWindow", MultipleHelpWindowPostSetup);
}
- private bool ShouldHandleUiInteractions => _questController.IsRunning;
-
private unsafe void UnendingCodexPostSetup(AddonEvent type, AddonArgs args)
{
- if (!ShouldHandleUiInteractions)
- return;
-
if (_questController.StartedQuest?.Quest.Id.Value == 4526)
{
_logger.LogInformation("Closing Unending Codex");
private unsafe void ContentsTutorialPostSetup(AddonEvent type, AddonArgs args)
{
- if (!ShouldHandleUiInteractions)
- return;
-
if (_questController.StartedQuest?.Quest.Id.Value == 245)
{
_logger.LogInformation("Closing ContentsTutorial");
/// </summary>
private unsafe void MultipleHelpWindowPostSetup(AddonEvent type, AddonArgs args)
{
- if (!ShouldHandleUiInteractions)
- return;
-
if (_questController.StartedQuest?.Quest.Id.Value == 245)
{
_logger.LogInformation("Closing MultipleHelpWindow");