mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
feat(Core/Hooks): OnLastIpUpdate(accountId, ip) (#4913)
This commit is contained in:
@@ -967,6 +967,9 @@ public:
|
||||
// Called when an account logged in successfully
|
||||
virtual void OnAccountLogin(uint32 /*accountId*/) { }
|
||||
|
||||
// Called when an ip logged in successfully
|
||||
virtual void OnLastIpUpdate(uint32 /*accountId*/, std::string /*ip*/) { }
|
||||
|
||||
// Called when an account login failed
|
||||
virtual void OnFailedAccountLogin(uint32 /*accountId*/) { }
|
||||
|
||||
@@ -1412,6 +1415,7 @@ public: /* PlayerScript */
|
||||
|
||||
public: /* AccountScript */
|
||||
void OnAccountLogin(uint32 accountId);
|
||||
void OnLastIpUpdate(uint32 accountId, std::string ip);
|
||||
void OnFailedAccountLogin(uint32 accountId);
|
||||
void OnEmailChange(uint32 accountId);
|
||||
void OnFailedEmailChange(uint32 accountId);
|
||||
|
||||
Reference in New Issue
Block a user