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

Function cSrvSeatVisDebug

source/modes/ConsoleCommands.cpp:307–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307Command::Result cSrvSeatVisDebug(const Command::ArgumentList_t& args, ConsoleInterface& c, GameMap& gameMap)
308{
309 if(args.size() < 2)
310 return Command::Result::INVALID_ARGUMENT;
311
312 int seatId = Helper::toInt(args[1]);
313 gameMap.consoleToggleSeatVisualDebug(seatId);
314 return Command::Result::SUCCESS;
315}
316
317Command::Result cSrvToggleFOW(const Command::ArgumentList_t& args, ConsoleInterface& c, GameMap& gameMap)
318{

Callers

nothing calls this directly

Calls 2

toIntFunction · 0.85

Tested by

no test coverage detected