mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
feat(Core/Scripting): Add hook during command security evaluation. (#20564)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "ArenaTeam.h"
|
||||
#include "AuctionHouseMgr.h"
|
||||
#include "Battleground.h"
|
||||
#include "ChatCommand.h"
|
||||
#include "Common.h"
|
||||
#include "DBCStores.h"
|
||||
#include "DynamicObject.h"
|
||||
@@ -672,6 +673,7 @@ public: /* CommandSC */
|
||||
|
||||
void OnHandleDevCommand(Player* player, bool& enable);
|
||||
bool OnTryExecuteCommand(ChatHandler& handler, std::string_view cmdStr);
|
||||
bool OnBeforeIsInvokerVisible(std::string name, Acore::Impl::ChatCommands::CommandPermissions permissions, ChatHandler const& who);
|
||||
|
||||
public: /* DatabaseScript */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user