mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-06 23:07:59 +00:00
feat(Core/Hooks): OnLastIpUpdate(accountId, ip) (#4913)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user