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

Function command_result plugin_init

plugins/digFlood.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
51{
52 commands.push_back(PluginCommand(
53 "digFlood",
54 "Automatically dig out veins as you discover them.",
55 digFlood));
56 return CR_OK;
57}
58
59void onDig(color_ostream& out, void* ptr) {
60 df::job* job = (df::job*)ptr;

Callers

nothing calls this directly

Calls 1

PluginCommandFunction · 0.85

Tested by

no test coverage detected