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

Method getTreasuryObjectFromPacket

source/entities/TreasuryObject.cpp:273–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273TreasuryObject* TreasuryObject::getTreasuryObjectFromPacket(GameMap* gameMap, ODPacket& is)
274{
275 TreasuryObject* obj = new TreasuryObject(gameMap);
276 obj->importFromPacket(is);
277 return obj;
278}
279
280void TreasuryObject::exportToPacket(ODPacket& os, const Seat* seat) const
281{

Callers

nothing calls this directly

Calls 1

importFromPacketMethod · 0.45

Tested by

no test coverage detected