Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ hasWalkableNeighbor
Method
hasWalkableNeighbor
plugins/suspendmanager.cpp:441–443 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
439
}
440
441
static bool hasWalkableNeighbor(coord pos) {
442
return std::ranges::any_of(neighbors | transform(around(pos)), walkable);
443
}
444
445
446
static df::building* plannedImpassibleAt(coord pos) {
Callers
nothing calls this directly
Calls
1
around
Function · 0.85
Tested by
no test coverage detected