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

Function find_stockpile

plugins/logistics.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static df::building_stockpilest* find_stockpile(int32_t stockpile_number) {
125 return binsearch_in_vector(world->buildings.other.STOCKPILE,
126 &df::building_stockpilest::stockpile_number, stockpile_number);
127}
128
129static void validate_stockpile_configs(color_ostream& out,
130 unordered_map<df::building_stockpilest *, PersistentDataItem> &cache) {

Callers 3

find_stockpilesFunction · 0.85

Calls 1

binsearch_in_vectorFunction · 0.85

Tested by

no test coverage detected