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

Method importFromStream

source/traps/TrapDoor.cpp:454–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454bool TrapDoor::importFromStream(std::istream& is)
455{
456 if(!Trap::importFromStream(is))
457 return false;
458
459 if(!(is >> mIsLocked))
460 return false;
461
462 return true;
463}

Callers 5

loadMethod · 0.45
getSpellFromStreamMethod · 0.45
getSpellFromStreamMethod · 0.45
loadMethod · 0.45
importTrapFromStreamMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected