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

Method getActivityItem

plugins/dwarfmonitor.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 string getActivityItem(activity_type activity, size_t value)
301 {
302 return pad_string(int_to_string(value), 3) + " " + getActivityLabel(activity);
303 }
304
305 void feed(set<df::interface_key> *input)
306 {

Callers

nothing calls this directly

Calls 3

pad_stringFunction · 0.85
int_to_stringFunction · 0.85
getActivityLabelFunction · 0.85

Tested by

no test coverage detected