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

Method getBank

scripting/src/engine_context.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29CylinderBank *es_script::EngineContext::getBank(CylinderBankNode *bank) const {
30 auto it = m_banks.find(bank);
31 if (it != m_banks.end()) {
32 return it->second;
33 }
34 else return nullptr;
35}
36
37void es_script::EngineContext::addRodJournal(RodJournalNode *node, int index) {
38 m_rodJournals[node] = index;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected