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

Function command_result plugin_init

plugins/prospector.cpp:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261command_result prospector (color_ostream &out, vector <string> & parameters);
262
263DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
264{
265 commands.push_back(PluginCommand(
266 "prospect",
267 "Show raw resources available on the map.",
268 prospector));
269 return CR_OK;
270}
271
272DFhackCExport command_result plugin_shutdown ( color_ostream &out )
273{

Callers

nothing calls this directly

Calls 1

PluginCommandFunction · 0.85

Tested by

no test coverage detected