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

Function cleanup_state

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

Source from the content-addressed store, hash-verified

321}
322
323static void cleanup_state()
324{
325 enable_labormanager = false;
326 labor_infos.clear();
327 initialized = false;
328}
329
330static void reset_labor(df::unit_labor labor)
331{

Callers 3

enable_pluginFunction · 0.70

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected