MCPcopy Create free account
hub / github.com/ange-yaghi/engine-sim / getRodJournalIndex

Method getRodJournalIndex

scripting/src/engine_context.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int 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
49void es_script::EngineContext::addIntake(IntakeNode *node, Intake *intake) {
50 m_intakes[node] = intake;

Callers 1

generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected