refactor(Scripts/Commands): convert cs_misc to new system (#8939)
This commit is contained in:
parent
7617ae4645
commit
838c88f45a
15 changed files with 2208 additions and 1737 deletions
|
|
@ -18,11 +18,11 @@
|
|||
#include "ScriptMgr.h"
|
||||
#include "ScriptMgrMacros.h"
|
||||
|
||||
void ScriptMgr::OnHandleDevCommand(Player* player, std::string& argstr)
|
||||
void ScriptMgr::OnHandleDevCommand(Player* player, bool& enable)
|
||||
{
|
||||
ExecuteScript<CommandSC>([&](CommandSC* script)
|
||||
{
|
||||
script->OnHandleDevCommand(player, argstr);
|
||||
script->OnHandleDevCommand(player, enable);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue