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

Method getMapLightFromStream

source/entities/MapLight.cpp:272–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272MapLight* MapLight::getMapLightFromStream(GameMap* gameMap, std::istream& is)
273{
274 MapLight* mapLight = new MapLight(gameMap, true);
275 mapLight->importFromStream(is);
276 return mapLight;
277}
278
279MapLight* MapLight::getMapLightFromPacket(GameMap* gameMap, ODPacket& is)
280{

Callers

nothing calls this directly

Calls 1

importFromStreamMethod · 0.45

Tested by

no test coverage detected