| 56 | } |
| 57 | |
| 58 | bool PlayerCodexes::markCodexRead(String const& codexId) { |
| 59 | if (codexKnown(codexId) && !codexRead(codexId)) { |
| 60 | m_codexes[codexId].second = true; |
| 61 | return true; |
| 62 | } |
| 63 | return false; |
| 64 | } |
| 65 | |
| 66 | bool PlayerCodexes::markCodexUnread(String const& codexId) { |
| 67 | if (codexKnown(codexId) && codexRead(codexId)) { |
no outgoing calls
no test coverage detected