mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
refactor(Scripts/Commands): convert cs_misc to new system (#8939)
This commit is contained in:
committed by
GitHub
parent
7617ae4645
commit
838c88f45a
@@ -1842,7 +1842,7 @@ public:
|
||||
|
||||
bool IsDatabaseBound() const { return false; }
|
||||
|
||||
virtual void OnHandleDevCommand(Player* /*player*/, std::string& /*argstr*/) { }
|
||||
virtual void OnHandleDevCommand(Player* /*player*/, bool& /*enable*/) { }
|
||||
|
||||
/**
|
||||
* @brief This hook runs execute chat command
|
||||
@@ -2464,7 +2464,7 @@ public: /* MiscScript */
|
||||
|
||||
public: /* CommandSC */
|
||||
|
||||
void OnHandleDevCommand(Player* player, std::string& argstr);
|
||||
void OnHandleDevCommand(Player* player, bool& enable);
|
||||
bool CanExecuteCommand(ChatHandler& handler, std::string_view cmdStr);
|
||||
|
||||
public: /* DatabaseScript */
|
||||
|
||||
Reference in New Issue
Block a user