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

@ -90,12 +90,12 @@ namespace Dalamud.Game.ClientState
/// <summary>
/// Event that fires when a character is logging in.
/// </summary>
public event EventHandler OnLogin;
public event EventHandler Login;
/// <summary>
/// Event that fires when a character is logging out.
/// </summary>
public event EventHandler OnLogout;
public event EventHandler Logout;
/// <summary>
/// Event that gets fired when a duty is ready.
@ -216,7 +216,7 @@ namespace Dalamud.Game.ClientState
Log.Debug("Is login");
this.lastConditionNone = false;
this.IsLoggedIn = true;
this.OnLogin?.Invoke(this, null);
this.Login?.Invoke(this, null);
}
if (!this.Condition.Any() && this.lastConditionNone == false)
@ -224,7 +224,7 @@ namespace Dalamud.Game.ClientState
Log.Debug("Is logout");
this.lastConditionNone = true;
this.IsLoggedIn = false;
this.OnLogout?.Invoke(this, null);
this.Logout?.Invoke(this, null);
}
}
}