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

Method getBreakdownAverage

plugins/dwarfmonitor.cpp:876–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 }
875
876 string getBreakdownAverage(activity_type activity, const size_t value)
877 {
878 auto label = getActivityLabel(activity);
879 auto result = pad_string(int_to_string(value), 3) + " " + label;
880
881 return result;
882 }
883
884 size_t getFortActivityCount(const activity_type activity)
885 {

Callers

nothing calls this directly

Calls 3

getActivityLabelFunction · 0.85
pad_stringFunction · 0.85
int_to_stringFunction · 0.85

Tested by

no test coverage detected