feat(Core/debug): Add commad to debug lfg (#6638)
* feat(Core/debug): Add commad to debug lfg * Update LFGMgr.h * Update rev_1624914323095978900.sql * Code review fixes Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
parent
a9796af174
commit
aa9a39e07f
6 changed files with 41 additions and 6 deletions
|
|
@ -75,6 +75,7 @@ public:
|
|||
{ "update", SEC_ADMINISTRATOR, false, &HandleDebugUpdateCommand, "" },
|
||||
{ "itemexpire", SEC_ADMINISTRATOR, false, &HandleDebugItemExpireCommand, "" },
|
||||
{ "areatriggers", SEC_ADMINISTRATOR, false, &HandleDebugAreaTriggersCommand, "" },
|
||||
{ "lfg", SEC_ADMINISTRATOR, false, &HandleDebugDungeonFinderCommand, "" },
|
||||
{ "los", SEC_ADMINISTRATOR, false, &HandleDebugLoSCommand, "" },
|
||||
{ "moveflags", SEC_ADMINISTRATOR, false, &HandleDebugMoveflagsCommand, "" },
|
||||
{ "unitstate", SEC_ADMINISTRATOR, false, &HandleDebugUnitStateCommand, "" }
|
||||
|
|
@ -805,6 +806,12 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool HandleDebugDungeonFinderCommand(ChatHandler* /*handler*/, char const* /*args*/)
|
||||
{
|
||||
sLFGMgr->ToggleTesting();
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleDebugBattlegroundCommand(ChatHandler* /*handler*/, char const* /*args*/)
|
||||
{
|
||||
sBattlegroundMgr->ToggleTesting();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue