From b407d5d632db90bc74caaef7139b066fe573b122 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 21 Mar 2026 06:47:32 -0700 Subject: [PATCH] feat: fire RESURRECT_REQUEST event when another player offers resurrection Fire RESURRECT_REQUEST with the caster's name from SMSG_RESURRECT_REQUEST when a player/NPC offers to resurrect the dead player. Used by auto-accept resurrection addons and death tracking addons. --- src/game/game_handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 6bac6a62..01e86a5a 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -4056,6 +4056,8 @@ void GameHandler::handlePacket(network::Packet& packet) { resurrectCasterName_ = (nit != playerNameCache.end()) ? nit->second : ""; } resurrectRequestPending_ = true; + if (addonEventCallback_) + addonEventCallback_("RESURRECT_REQUEST", {resurrectCasterName_}); } break; }