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

Function ClearData

plugins/channel-safely/channel-safely-plugin.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 static int32_t last_resurrect_tick = 0;
160
161 void ClearData() {
162 ChannelManager::Get().destroy_groups();
163 dignow_queue.clear();
164 last_safe.clear();
165 endangered_units.clear();
166 active_workers.clear();
167 active_jobs.clear();
168 job_id_map.clear();
169 }
170
171 void SaveSettings() {
172 if (pfeature.isValid() && psetting.isValid()) {

Callers 1

Calls 2

destroy_groupsMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected