feat: add PLAYER_EVENT_ON_CAN_SEND_MAIL (#85)

This commit is contained in:
Axel Cocat
2022-12-31 00:43:46 +01:00
committed by GitHub
parent 1e57b45c40
commit 3700b4246a
5 changed files with 22 additions and 0 deletions

View File

@@ -721,6 +721,7 @@ namespace LuaGlobalFunctions
* PLAYER_EVENT_ON_FFAPVP_CHANGE = 46, // (event, player, hasFfaPvp)
* PLAYER_EVENT_ON_UPDATE_AREA = 47, // (event, player, oldArea, newArea)
* PLAYER_EVENT_ON_CAN_INIT_TRADE = 48, // (event, player, target) - Can return false to prevent the trade
* PLAYER_EVENT_ON_CAN_SEND_MAIL = 49, // (event, player, receiverGuid, mailbox, subject, body, money, cod, item) - Can return false to prevent sending the mail
* };
* </pre>
*