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

Method stopComputeVisualDebugEntities

source/entities/Creature.cpp:1787–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1785}
1786
1787void Creature::stopComputeVisualDebugEntities()
1788{
1789 if(!getIsOnServerMap())
1790 return;
1791
1792 mHasVisualDebuggingEntities = false;
1793
1794 ServerNotification *serverNotification = new ServerNotification(
1795 ServerNotificationType::refreshCreatureVisDebug, nullptr);
1796 const std::string& name = getName();
1797 serverNotification->mPacket << name;
1798 serverNotification->mPacket << false;
1799 ODServer::getSingleton().queueServerNotification(serverNotification);
1800}
1801
1802void Creature::destroyVisualDebugEntities()
1803{

Callers 1

Calls 1

Tested by

no test coverage detected