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

Function getSelectedUnit

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

Source from the content-addressed store, hash-verified

358 virtual void onShow() {};
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; }

Callers 9

df_createitemFunction · 0.85
df_cprobeFunction · 0.85
followFunction · 0.85
df_strangemoodFunction · 0.85
feedMethod · 0.85
renderMethod · 0.85
revfloodFunction · 0.85
cursecheckFunction · 0.85
df_countersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected