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

Method is_unmanaged

plugins/autolabor/labormanager.cpp:131–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 void set_priority(int priority) { config.ival(1) = priority; }
130
131 bool is_unmanaged() const { return maximum_dwarfs() == MAX_DWARFS_UNMANAGED; }
132 int maximum_dwarfs() const { return config.ival(2); }
133 void set_maximum_dwarfs(int maximum_dwarfs) { config.ival(2) = maximum_dwarfs; }
134

Callers 6

set_laborMethod · 0.80
process_jobMethod · 0.80
count_toolsMethod · 0.80
FOR_ENUM_ITEMSMethod · 0.80
processMethod · 0.80
print_laborFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected