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

Method is_enabled

library/include/PluginManager.h:171–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170 bool can_be_enabled() { return plugin_is_enabled != 0; }
171 bool is_enabled() { return plugin_is_enabled && *plugin_is_enabled; }
172 bool can_set_enabled() { return plugin_is_enabled != 0 && plugin_enable; }
173 command_result set_enabled(color_ostream &out, bool enable);
174

Callers 3

enableMethod · 0.45
plugMethod · 0.45
lua_is_enabledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected