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

Method importFromStream

source/creatureeffect/CreatureEffectDefense.cpp:82–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool CreatureEffectDefense::importFromStream(std::istream& is)
83{
84 if(!CreatureEffect::importFromStream(is))
85 return false;
86 if(!(is >> mPhy))
87 return false;
88 if(!(is >> mMag))
89 return false;
90 if(!(is >> mEle))
91 return false;
92
93 return true;
94}

Callers 1

loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected