Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ codex
Method
codex
source/game/StarCodexDatabase.cpp:35–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
CodexConstPtr CodexDatabase::codex(String const& codexId) const {
36
if (auto codex = m_codexes.maybe(codexId))
37
return codex.take();
38
return {};
39
}
40
41
}
Callers
2
PlayerCodexes
Method · 0.80
learnCodex
Method · 0.80
Calls
2
maybe
Method · 0.45
take
Method · 0.45
Tested by
no test coverage detected