MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / cSrvCreatureVisDebug

Function cSrvCreatureVisDebug

source/modes/ConsoleCommands.cpp:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296Command::Result cSrvCreatureVisDebug(const Command::ArgumentList_t& args, ConsoleInterface& c, GameMap& gameMap)
297{
298 if(args.size() < 2)
299 return Command::Result::INVALID_ARGUMENT;
300
301 const std::string& name = args[1];
302 gameMap.consoleToggleCreatureVisualDebug(name);
303
304 return Command::Result::SUCCESS;
305}
306
307Command::Result cSrvSeatVisDebug(const Command::ArgumentList_t& args, ConsoleInterface& c, GameMap& gameMap)
308{

Callers

nothing calls this directly

Tested by

no test coverage detected