MCPcopy Create free account
hub / github.com/DFHack/dfhack / BlockAtTile

Function BlockAtTile

library/include/modules/MapCache.h:426–428  ·  view source on GitHub ↗

get the map block at a tile coord.

Source from the content-addressed store, hash-verified

424 Block *BlockAt(DFCoord blockcoord);
425 /// get the map block at a tile coord.
426 Block *BlockAtTile(DFCoord coord) {
427 return BlockAt(df::coord(coord.x>>4,coord.y>>4,coord.z));
428 }
429
430 bool ensureBlockAt(df::coord coord)
431 {

Callers 15

addItemOnGroundMethod · 0.85
removeItemOnGroundMethod · 0.85
ensureBlockAtFunction · 0.85
baseTiletypeAtFunction · 0.85
baseMaterialAtFunction · 0.85
veinMaterialAtFunction · 0.85
layerMaterialAtFunction · 0.85
isVeinAtFunction · 0.85
isLayerAtFunction · 0.85
staticTiletypeAtFunction · 0.85
staticMaterialAtFunction · 0.85
hasConstructionAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected