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

Function getSelectedItem

library/include/modules/Screen.h:361–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 virtual void onDismiss() {};
360 virtual df::unit *getSelectedUnit() { return nullptr; }
361 virtual df::item *getSelectedItem() { return nullptr; }
362 virtual df::job *getSelectedJob() { return nullptr; }
363 virtual df::building *getSelectedBuilding() { return nullptr; }
364 virtual df::building_stockpilest *getSelectedStockpile() { return nullptr; }

Callers 4

df_changeitemFunction · 0.85
df_autodump_destroy_itemFunction · 0.85
df_createitemFunction · 0.85
df_forceequipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected