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

Function cmd_reload_config

plugins/autogems.cpp:336–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336command_result cmd_reload_config(color_ostream &out, std::vector<std::string>&) {
337 return read_config(out) ? CR_OK : CR_FAILURE;
338}
339
340DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) {
341 if (event == DFHack::SC_MAP_LOADED) {

Callers

nothing calls this directly

Calls 1

read_configFunction · 0.85

Tested by

no test coverage detected