feat: add PLAYER_EVENT_ON_CAN_JOIN_LFG (#86)

This commit is contained in:
Axel Cocat
2023-01-01 19:47:16 +01:00
committed by GitHub
parent 3700b4246a
commit 295fcefd01
6 changed files with 33 additions and 0 deletions

View File

@@ -766,6 +766,11 @@ public:
{
return sEluna->OnCanSendMail(player, receiverGuid, mailbox, subject, body, money, cod, item);
}
bool CanJoinLfg(Player* player, uint8 roles, lfg::LfgDungeonSet& dungeons, const std::string& comment) override
{
return sEluna->OnCanJoinLfg(player, roles, dungeons, comment);
}
};
class Eluna_ServerScript : public ServerScript