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

Method importFromPacket

source/entities/PersistentObject.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void PersistentObject::importFromPacket(ODPacket& is)
154{
155 BuildingObject::importFromPacket(is);
156
157 mTile = getGameMap()->tileFromPacket(is);
158 if(mTile == nullptr)
159 {
160 OD_LOG_ERR("name=" + getName());
161 }
162}
163
164bool PersistentObject::notifyRemoveAsked()
165{

Callers 1

Calls 1

tileFromPacketMethod · 0.80

Tested by

no test coverage detected