MCPcopy Create free account
hub / github.com/DFHack/dfhack / command_result plugin_shutdown

Function command_result plugin_shutdown

plugins/burrow.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81DFhackCExport command_result plugin_shutdown(color_ostream &out) {
82 DEBUG(status, out).print("shutting down {}\n", plugin_name);
83 reset();
84 return CR_OK;
85}
86
87DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) {
88 if (event == DFHack::SC_WORLD_UNLOADED)

Callers

nothing calls this directly

Calls 2

resetFunction · 0.70
printMethod · 0.45

Tested by

no test coverage detected