refactor: OnLogin, OnLogout => Login, Logout

This commit is contained in:
goat 2021-08-11 02:38:39 +02:00
parent 3ba090e487
commit 9214e17577
No known key found for this signature in database
GPG key ID: F18F057873895461
3 changed files with 10 additions and 10 deletions

View file

@ -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;
}
}

View file

@ -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;
}
}