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

Method exportToStream

source/entities/Tile.cpp:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void Tile::exportToStream(std::ostream& os) const
212{
213 os << getX() << "\t" << getY() << "\t";
214 os << getType() << "\t" << getFullness();
215 if(getSeat() == nullptr)
216 return;
217
218 os << "\t" << getSeat()->getId();
219}
220
221ODPacket& operator<<(ODPacket& os, const TileType& type)
222{

Callers 1

writeMethod · 0.45

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected