MCPcopy 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
45bool PlayerTech::isEnabled(String const& techModule) const {
46 return m_enabledTechs.contains(techModule);
47}
48
49void PlayerTech::enable(String const& techModule) {
50 if (!m_availableTechs.contains(techModule))

Callers 1

nextMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected