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

Method getSpellFromStream

source/spells/SpellCallToWar.cpp:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175Spell* SpellCallToWar::getSpellFromStream(GameMap* gameMap, std::istream &is)
176{
177 SpellCallToWar* spell = new SpellCallToWar(gameMap);
178 spell->importFromStream(is);
179 return spell;
180}
181
182Spell* SpellCallToWar::getSpellFromPacket(GameMap* gameMap, ODPacket &is)
183{

Callers

nothing calls this directly

Calls 1

importFromStreamMethod · 0.45

Tested by

no test coverage detected