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

Function disable_all_hooks

plugins/eventful.cpp:486–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484 }
485}
486void disable_all_hooks(color_ostream &out)
487{
488 world_specific_hooks(out,false);
489 enable_hooks(false);
490}
491DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event)
492{
493 switch (event) {

Callers 1

Calls 2

world_specific_hooksFunction · 0.85
enable_hooksFunction · 0.70

Tested by

no test coverage detected