| 62 | } |
| 63 | |
| 64 | void CodexInterface::showContents(String const& codexId) { |
| 65 | CodexConstPtr result; |
| 66 | for (auto entry : m_codexList) |
| 67 | if (entry.first->id() == codexId) { |
| 68 | result = entry.first; |
| 69 | break; |
| 70 | } |
| 71 | if (result) |
| 72 | showContents(result); |
| 73 | } |
| 74 | |
| 75 | void CodexInterface::showContents(CodexConstPtr codex) { |
| 76 | if (m_player->codexes()->markCodexRead(codex->id())) |
nothing calls this directly
no test coverage detected