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

Function command_result plugin_init

plugins/siege-engine.cpp:2037–2045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2035}
2036
2037DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
2038{
2039 rng.init();
2040
2041 if (Core::getInstance().isMapLoaded())
2042 plugin_onstatechange(out, SC_MAP_LOADED);
2043
2044 return CR_OK;
2045}
2046
2047DFhackCExport command_result plugin_shutdown ( color_ostream &out )
2048{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected