mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: fire CONFIRM_SUMMON event on warlock/meeting stone summons
Fire CONFIRM_SUMMON from SMSG_SUMMON_REQUEST when another player summons via warlock portal or meeting stone. Used by auto-accept summon addons and summon notification addons.
This commit is contained in:
parent
de903e363c
commit
5d93108a88
1 changed files with 2 additions and 0 deletions
|
|
@ -25855,6 +25855,8 @@ void GameHandler::handleSummonRequest(network::Packet& packet) {
|
||||||
addSystemChatMessage(msg);
|
addSystemChatMessage(msg);
|
||||||
LOG_INFO("SMSG_SUMMON_REQUEST: summoner=", summonerName_,
|
LOG_INFO("SMSG_SUMMON_REQUEST: summoner=", summonerName_,
|
||||||
" zoneId=", zoneId, " timeout=", summonTimeoutSec_, "s");
|
" zoneId=", zoneId, " timeout=", summonTimeoutSec_, "s");
|
||||||
|
if (addonEventCallback_)
|
||||||
|
addonEventCallback_("CONFIRM_SUMMON", {});
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameHandler::acceptSummon() {
|
void GameHandler::acceptSummon() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue