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

Method exportToStream

source/creatureeffect/CreatureEffect.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void CreatureEffect::exportToStream(std::ostream& os) const
36{
37 os << "\t" << mNbTurnsEffect << "\t";
38 if(mParticleEffectScript.empty())
39 os << "none";
40 else
41 os << mParticleEffectScript;
42}
43
44bool CreatureEffect::importFromStream(std::istream& is)
45{

Callers 1

writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected