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

Function get_status

plugins/tweak/tweak.cpp:153–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static std::map<string, bool> get_status() {
154 std::map<string, bool> list;
155 for (auto & entry : tweak_hooks)
156 list[entry.first] = entry.second.is_applied();
157 for (auto & entry : tweak_onupdate_hooks)
158 list[entry.first] = entry.second.enabled;
159
160 return list;
161}
162
163static command_result tweak(color_ostream &out, vector <string> &parameters) {
164 if (parameters.empty() || parameters[0] == "list") {

Callers 2

tweakFunction · 0.85
tweak_get_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected