mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
refactor: OnLogin, OnLogout => Login, Logout
This commit is contained in:
parent
3ba090e487
commit
9214e17577
3 changed files with 10 additions and 10 deletions
|
|
@ -22,13 +22,13 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps
|
|||
|
||||
if (!this.subscribed)
|
||||
{
|
||||
dalamud.ClientState.OnLogin += this.ClientStateOnOnLogin;
|
||||
dalamud.ClientState.Login += this.ClientStateOnOnLogin;
|
||||
this.subscribed = true;
|
||||
}
|
||||
|
||||
if (this.hasPassed)
|
||||
{
|
||||
dalamud.ClientState.OnLogin -= this.ClientStateOnOnLogin;
|
||||
dalamud.ClientState.Login -= this.ClientStateOnOnLogin;
|
||||
this.subscribed = false;
|
||||
return SelfTestStepResult.Pass;
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps
|
|||
{
|
||||
if (this.subscribed)
|
||||
{
|
||||
dalamud.ClientState.OnLogin -= this.ClientStateOnOnLogin;
|
||||
dalamud.ClientState.Login -= this.ClientStateOnOnLogin;
|
||||
this.subscribed = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,13 +22,13 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps
|
|||
|
||||
if (!this.subscribed)
|
||||
{
|
||||
dalamud.ClientState.OnLogout += this.ClientStateOnOnLogout;
|
||||
dalamud.ClientState.Logout += this.ClientStateOnOnLogout;
|
||||
this.subscribed = true;
|
||||
}
|
||||
|
||||
if (this.hasPassed)
|
||||
{
|
||||
dalamud.ClientState.OnLogout -= this.ClientStateOnOnLogout;
|
||||
dalamud.ClientState.Logout -= this.ClientStateOnOnLogout;
|
||||
this.subscribed = false;
|
||||
return SelfTestStepResult.Pass;
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps
|
|||
{
|
||||
if (this.subscribed)
|
||||
{
|
||||
dalamud.ClientState.OnLogout -= this.ClientStateOnOnLogout;
|
||||
dalamud.ClientState.Logout -= this.ClientStateOnOnLogout;
|
||||
this.subscribed = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue