From 11ee36aaa18ad42a819d71c769df29c1db412e22 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Sat, 14 Oct 2023 00:25:41 +0200 Subject: [PATCH] Add SendMail return comment --- Hooks.h | 2 +- TrinityCore/GlobalMethods.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hooks.h b/Hooks.h index b32f470570..cb8a664e42 100644 --- a/Hooks.h +++ b/Hooks.h @@ -210,7 +210,7 @@ namespace Hooks // UNUSED = 46, // (event, player) PLAYER_EVENT_ON_UPDATE_AREA = 47, // (event, player, oldArea, newArea) PLAYER_EVENT_ON_TRADE_INIT = 48, // (event, player, target) - Can return false to interrupt trade - PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) + PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) - Can return false to interrupt sending // UNUSED = 50, // (event, player) // UNUSED = 51, // (event, player) // UNUSED = 52, // (event, player) diff --git a/TrinityCore/GlobalMethods.h b/TrinityCore/GlobalMethods.h index 953c8efc6e..15cf029bc5 100644 --- a/TrinityCore/GlobalMethods.h +++ b/TrinityCore/GlobalMethods.h @@ -658,7 +658,7 @@ namespace LuaGlobalFunctions * // UNUSED = 46, // (event, player) * PLAYER_EVENT_ON_UPDATE_AREA = 47, // (event, player, oldArea, newArea) * PLAYER_EVENT_ON_TRADE_INIT = 48, // (event, player, target) - Can return false to interrupt trade - * PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) + * PLAYER_EVENT_ON_SEND_MAIL = 49, // (event, player, recipientGuid) - Can return false to interrupt sending * // UNUSED = 50, // (event, player) * // UNUSED = 51, // (event, player) * // UNUSED = 52, // (event, player)