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

Function hasConstructionAt

library/include/modules/MapCache.h:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 return baseMaterialAt(p);
227 }
228 bool hasConstructionAt(df::coord2d p)
229 {
230 if (!tiles) init_tiles();
231 return tiles->con_info &&
232 tiles->con_info->constructed.getassignment(p);
233 }
234
235 df::tiletype tiletypeAt(df::coord2d p);
236 bool setTiletypeAt(df::coord2d, df::tiletype tt, bool force = false);

Callers

nothing calls this directly

Calls 1

BlockAtTileFunction · 0.85

Tested by

no test coverage detected