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

Function forCoord

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

Source from the content-addressed store, hash-verified

257DFHACK_EXPORT void forCoord(std::function<bool(df::coord)> fn,
258 int16_t x1, int16_t y1, int16_t z1, int16_t x2, int16_t y2, int16_t z2, bool row_major = false);
259inline void forCoord(std::function<bool(df::coord)> fn, const df::coord &p1, const df::coord &p2, bool row_major = false) {
260 forCoord(fn, p1.x, p1.y, p1.z, p2.x, p2.y, p2.z, row_major);
261}
262
263/**
264 * Method for reading the geological surrounding of the currently loaded region.

Callers 1

forCoordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected