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

Function getBlock

library/include/modules/Maps.h:338–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336extern DFHACK_EXPORT df::map_block_column *getBlockColumn(int32_t blockx, int32_t blocky);
337
338inline df::map_block *getBlock (df::coord pos) { return getBlock(pos.x, pos.y, pos.z); }
339inline df::map_block *getTileBlock (df::coord pos) { return getTileBlock(pos.x, pos.y, pos.z); }
340inline df::map_block *ensureTileBlock (df::coord pos) { return ensureTileBlock(pos.x, pos.y, pos.z); }
341

Callers 14

listBlocksMethod · 0.85
clearTilesMethod · 0.85
ReadFeaturesInlineFunction · 0.85
RemoveBlockEventInlineFunction · 0.85
BlockMethod · 0.85
stamp_patternFunction · 0.85
isOnUnmovableItemMethod · 0.85
OnUpdateFunction · 0.85
scanMethod · 0.85
IsTiletypeChangedFunction · 0.85
IsDesignationChangedFunction · 0.85
IsBuildingChangedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected