feat(Script/Commands): .debug dummy (#9070)

* cherry-pick commit (5ed891a0f0)

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
This commit is contained in:
Kitzunu
2021-11-12 16:19:35 +01:00
committed by GitHub
parent 63ca330531
commit 4a4615f4dc
2 changed files with 15 additions and 1 deletions

View File

@@ -101,7 +101,8 @@ public:
{ "lfg", HandleDebugDungeonFinderCommand, SEC_ADMINISTRATOR, Console::No },
{ "los", HandleDebugLoSCommand, SEC_ADMINISTRATOR, Console::No },
{ "moveflags", HandleDebugMoveflagsCommand, SEC_ADMINISTRATOR, Console::No },
{ "unitstate", HandleDebugUnitStateCommand, SEC_ADMINISTRATOR, Console::No }
{ "unitstate", HandleDebugUnitStateCommand, SEC_ADMINISTRATOR, Console::No },
{ "dummy", HandleDebugDummyCommand, SEC_ADMINISTRATOR, Console::No }
};
static ChatCommandTable commandTable =
{
@@ -1244,6 +1245,12 @@ public:
handler->PSendSysMessage("Waypoint SQL written to SQL Developer log");
return true;
}
static bool HandleDebugDummyCommand(ChatHandler* handler)
{
handler->SendSysMessage("This command does nothing right now. Edit your local core (cs_debug.cpp) to make it do whatever you need for testing.");
return true;
}
};
void AddSC_debug_commandscript()