From d24d12fb8fadeb68b74fad7b4aeec52e0d6f01e1 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 21 Mar 2026 07:17:20 -0700 Subject: [PATCH] feat: fire PARTY_INVITE_REQUEST event with inviter name Fire PARTY_INVITE_REQUEST when another player invites the local player to a group. Used by auto-accept group addons and invite notification addons. Includes the inviter's name as the first argument. --- 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 87cc250a..af2443d4 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -20028,6 +20028,8 @@ void GameHandler::handleGroupInvite(network::Packet& packet) { if (auto* sfx = renderer->getUiSoundManager()) sfx->playTargetSelect(); } + if (addonEventCallback_) + addonEventCallback_("PARTY_INVITE_REQUEST", {data.inviterName}); } void GameHandler::handleGroupDecline(network::Packet& packet) {