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

Method getTreasuryObjectFromStream

source/entities/TreasuryObject.cpp:266–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266TreasuryObject* TreasuryObject::getTreasuryObjectFromStream(GameMap* gameMap, std::istream& is)
267{
268 TreasuryObject* obj = new TreasuryObject(gameMap);
269 obj->importFromStream(is);
270 return obj;
271}
272
273TreasuryObject* TreasuryObject::getTreasuryObjectFromPacket(GameMap* gameMap, ODPacket& is)
274{

Callers

nothing calls this directly

Calls 1

importFromStreamMethod · 0.45

Tested by

no test coverage detected