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

Method firstNewCodex

source/game/StarPlayerCodexes.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79CodexConstPtr PlayerCodexes::firstNewCodex() const {
80 for (auto pair : m_codexes) {
81 if (!pair.second.second)
82 return pair.second.first;
83 }
84 return {};
85}
86
87}

Callers 2

makePlayerCallbacksMethod · 0.80
showNewCodexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected