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

Method importFromStream

source/entities/SkillEntity.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool SkillEntity::importFromStream(std::istream& is)
89{
90 if(!RenderedMovableEntity::importFromStream(is))
91 return false;
92 if(!(is >> mSkillPoints))
93 return false;
94 if(!(is >> mPosition.x >> mPosition.y >> mPosition.z))
95 return false;
96
97 return true;
98}
99
100std::string SkillEntity::getSkillEntityStreamFormat()
101{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected