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

Method importFromStream

source/entities/TreasuryObject.cpp:298–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298bool TreasuryObject::importFromStream(std::istream& is)
299{
300 if(!RenderedMovableEntity::importFromStream(is))
301 return false;
302 if(!(is >> mGoldValue))
303 return false;
304
305 return true;
306}
307
308std::string TreasuryObject::getTreasuryObjectStreamFormat()
309{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected