mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 16:27:44 +01:00
Fix Aging Steps
This commit is contained in:
parent
ca58a1bf4f
commit
9c0ca2769c
1 changed files with 6 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
using Dalamud.Game.AddonLifecycle;
|
using Dalamud.Game.AddonLifecycle;
|
||||||
using Dalamud.Plugin.Services;
|
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
|
|
||||||
namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps;
|
namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps;
|
||||||
|
|
@ -101,32 +100,32 @@ internal class AddonLifecycleAgingStep : IAgingStep
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostSetup(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PostSetup(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterSetup) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterSetup) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostUpdate(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PostUpdate(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterUpdate) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterUpdate) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostDraw(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PostDraw(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterDraw) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterDraw) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostRefresh(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PostRefresh(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterRefresh) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterRefresh) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostRequestedUpdate(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PostRequestedUpdate(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterRequestedUpdate) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterRequestedUpdate) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PreFinalize(AddonEvent eventType, IAddonLifecycle.AddonArgs addonInfo)
|
private void PreFinalize(AddonEvent eventType, AddonArgs addonInfo)
|
||||||
{
|
{
|
||||||
if (this.currentStep is TestStep.CharacterFinalize) this.currentStep++;
|
if (this.currentStep is TestStep.CharacterFinalize) this.currentStep++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue