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

Function recent_report_any

library/modules/Gui.cpp:1784–1792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1782}
1783
1784static bool recent_report_any(df::unit *unit)
1785{
1786 FOR_ENUM_ITEMS(unit_report_type, slot)
1787 {
1788 if (recent_report(unit, slot))
1789 return true;
1790 }
1791 return false;
1792}
1793
1794static bool add_proper_report(df::unit *unit, bool is_sparring, df::report *report, bool update_alert = false)
1795{ // Add report to proper category based on is_sparring and unit current job

Callers 1

autoDFAnnouncementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected