Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ isEnabled
Method
isEnabled
source/game/StarPlayerTech.cpp:45–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
bool PlayerTech::isEnabled(String const& techModule) const {
46
return m_enabledTechs.contains(techModule);
47
}
48
49
void PlayerTech::enable(String const& techModule) {
50
if (!m_availableTechs.contains(techModule))
Callers
1
next
Method · 0.80
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected