feat: show area discovery toast with XP gain when exploring new zones

This commit is contained in:
Kelsi 2026-03-12 15:42:55 -07:00
parent 98ad71df0d
commit 77879769d3
4 changed files with 99 additions and 0 deletions

View file

@ -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;