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

Method disable

source/game/StarPlayerTech.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void PlayerTech::disable(String const& techModule) {
56 unequip(techModule);
57 m_enabledTechs.remove(techModule);
58}
59
60bool PlayerTech::isEquipped(String const& techModule) const {
61 for (auto t : m_equippedTechs.keys()) {

Callers 7

CraftingPaneMethod · 0.45
updateSelectionMethod · 0.45
updateBuyTotalMethod · 0.45
updateSellTotalMethod · 0.45
setupPageTextMethod · 0.45
tickMethod · 0.45
NewQuestInterfaceMethod · 0.45

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected