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

Function command_result plugin_shutdown

plugins/spectate.cpp:368–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368DFhackCExport command_result plugin_shutdown (color_ostream &out) {
369 DEBUG(control,out).print("shutting down {}\n", plugin_name);
370 on_disable(out);
371 return CR_OK;
372}
373
374DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) {
375 switch (event) {

Callers

nothing calls this directly

Calls 2

on_disableFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected