feat(Core/Hooks): OnLastIpUpdate(accountId, ip) (#4913)

This commit is contained in:
Francesco Borzì
2021-03-20 18:26:35 +01:00
committed by GitHub
parent 8b27347902
commit 8bacb39d53
3 changed files with 11 additions and 0 deletions

View File

@@ -1761,6 +1761,11 @@ void ScriptMgr::OnAccountLogin(uint32 accountId)
FOREACH_SCRIPT(AccountScript)->OnAccountLogin(accountId);
}
void ScriptMgr::OnLastIpUpdate(uint32 accountId, std::string ip)
{
FOREACH_SCRIPT(AccountScript)->OnLastIpUpdate(accountId, ip);
}
void ScriptMgr::OnFailedAccountLogin(uint32 accountId)
{
FOREACH_SCRIPT(AccountScript)->OnFailedAccountLogin(accountId);