feat(Core/Scripting): Add hook during command security evaluation. (#20564)

This commit is contained in:
Benjamin Jackson
2024-11-14 15:14:28 -05:00
committed by GitHub
parent e1766eb87f
commit 53cd41b938
4 changed files with 15 additions and 0 deletions

View File

@@ -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 */