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

Function has_group_above

plugins/channel-safely/include/inlines.h:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166inline bool has_group_above(const ChannelGroups &groups, const df::coord &map_pos) {
167 df::coord above(map_pos);
168 above.z++;
169 if (groups.count(above)) {
170 return true;
171 }
172 return false;
173}
174
175inline bool has_any_groups_above(const ChannelGroups &groups, const Group &group) {
176 // for each designation in the group

Callers 1

manage_oneMethod · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected