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

Class designation

plugins/dig.cpp:2297–2311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2295}
2296
2297struct designation{
2298 df::coord pos;
2299 df::tile_designation td;
2300 df::tile_occupancy to;
2301 designation() = default;
2302 designation(const df::coord &c, const df::tile_designation &td, const df::tile_occupancy &to) : pos(c), td(td), to(to) {}
2303
2304 bool operator==(const designation &rhs) const {
2305 return pos == rhs.pos;
2306 }
2307
2308 bool operator!=(const designation &rhs) const {
2309 return !(rhs == *this);
2310 }
2311};
2312
2313namespace std {
2314 template<>

Callers 2

DesignationsMethod · 0.70
getMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected