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

@@ -20,6 +20,7 @@
#include "Weather.h"
#include "World.h"
#include "Hooks.h"
#include "LFG.h"
#include "ElunaUtility.h"
#include "HttpManager.h"
#include <mutex>
@@ -478,6 +479,7 @@ public:
void OnFfaPvpStateUpdate(Player* player, bool hasFfaPvp);
bool OnCanInitTrade(Player* player, Player* target);
bool OnCanSendMail(Player* player, ObjectGuid receiverGuid, ObjectGuid mailbox, std::string& subject, std::string& body, uint32 money, uint32 cod, Item* item);
bool OnCanJoinLfg(Player* player, uint8 roles, lfg::LfgDungeonSet& dungeons, const std::string& comment);
#ifndef CLASSIC
#ifndef TBC