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

Method getMapLightFromPacket

source/entities/MapLight.cpp:279–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279MapLight* MapLight::getMapLightFromPacket(GameMap* gameMap, ODPacket& is)
280{
281 MapLight* mapLight = new MapLight(gameMap, false);
282 mapLight->importFromPacket(is);
283 return mapLight;
284}
285
286void MapLight::exportToStream(std::ostream& os) const
287{

Callers

nothing calls this directly

Calls 1

importFromPacketMethod · 0.45

Tested by

no test coverage detected