feat: add PLAYER_EVENT_ON_CAN_SEND_MAIL (#85)
This commit is contained in:
@@ -761,6 +761,11 @@ public:
|
||||
{
|
||||
return sEluna->OnCanInitTrade(player, target);
|
||||
}
|
||||
|
||||
bool CanSendMail(Player* player, ObjectGuid receiverGuid, ObjectGuid mailbox, std::string& subject, std::string& body, uint32 money, uint32 cod, Item* item) override
|
||||
{
|
||||
return sEluna->OnCanSendMail(player, receiverGuid, mailbox, subject, body, money, cod, item);
|
||||
}
|
||||
};
|
||||
|
||||
class Eluna_ServerScript : public ServerScript
|
||||
|
||||
Reference in New Issue
Block a user