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

Method getMaterialMask

plugins/buildingplan/itemfilter.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 df::item_quality getMaxQuality() const {return max_quality; }
29 bool getDecoratedOnly() const { return decorated_only; }
30 df::dfhack_material_category getMaterialMask() const { return mat_mask; }
31 std::set<DFHack::MaterialInfo> getMaterials() const { return materials; }
32
33 bool matches(df::dfhack_material_category mask) const;

Callers 3

getBucketFunction · 0.80
getMaterialMaskFilterFunction · 0.80
setMaterialFilterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected