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

Method liquidLevel

source/game/StarWorldClient.cpp:334–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334LiquidLevel WorldClient::liquidLevel(Vec2I const& pos) const {
335 if (!inWorld())
336 return {};
337 return m_tileArray->tile(pos).liquid;
338}
339
340LiquidLevel WorldClient::liquidLevel(RectF const& region) const {
341 if (!inWorld())

Callers 15

adjustSpawnRegionMethod · 0.45
getSwimmingNeighborsMethod · 0.45
inLiquidMethod · 0.45
validateEdgeMethod · 0.45
handleIncomingPacketsMethod · 0.45
readNetTileMethod · 0.45
updateMethod · 0.45
processActionMethod · 0.45
underwaterMethod · 0.45
tickSlaveMethod · 0.45

Calls 1

liquidLevelFunction · 0.85

Tested by 1

inspectMethod · 0.36