| 615 | } |
| 616 | |
| 617 | std::string DFHack::sc_event_name (state_change_event id) { |
| 618 | sc_event_map_init(); |
| 619 | for (auto it = state_change_event_map.begin(); it != state_change_event_map.end(); ++it) |
| 620 | { |
| 621 | if (it->second == id) |
| 622 | return it->first; |
| 623 | } |
| 624 | return "SC_UNKNOWN"; |
| 625 | } |
| 626 | |
| 627 | void DFHack::help_helper(color_ostream &con, const std::string &entry_name) { |
| 628 | ConditionalCoreSuspender suspend{}; |
nothing calls this directly
no test coverage detected