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

Function isExternalReason

plugins/suspendmanager.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82};
83
84inline bool isExternalReason(Reason reason) {
85 return reason == Reason::BUILDINGPLAN || reason == Reason::UNDER_WATER || reason == Reason::ITEM_IN_JOB;
86}
87
88static string reasonToString(Reason reason) {
89 switch (reason) {

Callers 2

do_cycleMethod · 0.85
keptSuspendedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected