MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / markCodexRead

Method markCodexRead

source/game/StarPlayerCodexes.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58bool 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
66bool PlayerCodexes::markCodexUnread(String const& codexId) {
67 if (codexKnown(codexId) && codexRead(codexId)) {

Callers 2

makePlayerCallbacksMethod · 0.80
showContentsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected