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

Function createCivzoneRef

plugins/autonestbox.cpp:222–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222static df::general_ref_building_civzone_assignedst * createCivzoneRef() {
223 return (df::general_ref_building_civzone_assignedst *)
224 df::general_ref_building_civzone_assignedst::_identity.instantiate();
225}
226
227static bool assignUnitToZone(color_ostream &out, df::unit *unit, df::building_civzonest *zone) {
228 auto ref = createCivzoneRef();

Callers 1

assignUnitToZoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected