MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / queueTileUpdates

Method queueTileUpdates

source/game/StarWorldServer.cpp:2109–2114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2107}
2108
2109void WorldServer::queueTileUpdates(Vec2I const& pos) {
2110 for (auto const& pair : m_clientInfo) {
2111 if (pair.second->activeSectors.contains(m_tileArray->sectorFor(pos)))
2112 pair.second->pendingTileUpdates.add(pos);
2113 }
2114}
2115
2116void WorldServer::queueTileDamageUpdates(Vec2I const& pos, TileLayer layer) {
2117 for (auto const& pair : m_clientInfo) {

Callers

nothing calls this directly

Calls 3

containsMethod · 0.45
sectorForMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected