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

Method hasChanged

plugins/channel-safely/include/tile-cache.h:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 bool hasChanged(const df::coord &pos, const df::tiletype &type) {
29 return locations.count(pos) && type != locations[pos];
30 }
31};

Callers 3

JobCompletedEventFunction · 0.80
scan_oneMethod · 0.80
scanMethod · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected