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

Function dfhooks_update

library/Hooks.cpp:76–80  ·  view source on GitHub ↗

called from the simulation thread in the main event loop

Source from the content-addressed store, hash-verified

74
75// called from the simulation thread in the main event loop
76DFhackCExport void dfhooks_update() {
77 if (disabled)
78 return;
79 DFHack::Core::getInstance().Update();
80}
81
82// called from the simulation thread just before adding the macro
83// recording/playback overlay

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.80

Tested by

no test coverage detected