mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 00:00:13 +00:00
feat: show area discovery toast with XP gain when exploring new zones
This commit is contained in:
parent
98ad71df0d
commit
77879769d3
4 changed files with 99 additions and 0 deletions
|
|
@ -1767,6 +1767,8 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
}
|
||||
addSystemChatMessage(msg);
|
||||
// XP is updated via PLAYER_XP update fields from the server.
|
||||
if (areaDiscoveryCallback_)
|
||||
areaDiscoveryCallback_(areaName, xpGained);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue