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

Method history_count

plugins/workflow.cpp:320–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 return history.get_int28(base + item*int28_size);
319 }
320 int history_count(int idx) { return history_value(idx, HIST_COUNT); }
321 int history_amount(int idx) { return history_value(idx, HIST_AMOUNT); }
322 int history_inuse_count(int idx) { return history_value(idx, HIST_INUSE_COUNT); }
323 int history_inuse_amount(int idx) { return history_value(idx, HIST_INUSE_AMOUNT); }

Callers 1

push_count_historyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected