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

Method tileToPacket

source/gamemap/TileContainer.cpp:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415void TileContainer::tileToPacket(ODPacket& packet, Tile* tile) const
416{
417 int32_t x = tile->getX();
418 int32_t y = tile->getY();
419 packet << x << y;
420}
421
422Tile* TileContainer::tileFromPacket(ODPacket& packet) const
423{

Callers 15

checkSpellCastMethod · 0.80
checkSpellCastMethod · 0.80
checkSpellCastMethod · 0.80
initSeatMethod · 0.80
sendVisibleTilesMethod · 0.80
exportToPacketMethod · 0.80
markTilesForDiggingMethod · 0.80
checkBuildTrapMethod · 0.80
checkBuildTrapEditorMethod · 0.80

Calls 2

getXMethod · 0.45
getYMethod · 0.45

Tested by

no test coverage detected