| 39 | } |
| 40 | |
| 41 | int es_script::EngineContext::getRodJournalIndex(RodJournalNode *node) const { |
| 42 | auto it = m_rodJournals.find(node); |
| 43 | if (it != m_rodJournals.end()) { |
| 44 | return it->second; |
| 45 | } |
| 46 | else return -1; |
| 47 | } |
| 48 | |
| 49 | void es_script::EngineContext::addIntake(IntakeNode *node, Intake *intake) { |
| 50 | m_intakes[node] = intake; |