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

Function command_result plugin_onupdate

plugins/autofarm.cpp:446–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446DFhackCExport command_result plugin_onupdate(color_ostream& out)
447{
448 if (world->frame_counter - cycle_timestamp >= CYCLE_TICKS)
449 autofarmInstance->process(out);
450
451 return CR_OK;
452}
453
454DFhackCExport command_result plugin_enable(color_ostream& out, bool enable)
455{

Callers

nothing calls this directly

Calls 1

processMethod · 0.45

Tested by

no test coverage detected