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

Method clear

plugins/buildingplan/itemfilter.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void ItemFilter::clear() {
24 min_quality = df::item_quality::Ordinary;
25 max_quality = default_max_quality;
26 decorated_only = false;
27 mat_mask.whole = 0;
28 materials.clear();
29}
30
31bool ItemFilter::isEmpty() const {
32 return min_quality == df::item_quality::Ordinary

Callers 15

read_ammoMethod · 0.45
read_animalsMethod · 0.45
read_armorMethod · 0.45
read_bars_blocksMethod · 0.45
read_clothMethod · 0.45
read_coinsMethod · 0.45
read_finished_goodsMethod · 0.45
read_foodMethod · 0.45
read_furnitureMethod · 0.45
read_gemsMethod · 0.45
read_leatherMethod · 0.45
read_corpsesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected