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

Method removeStatModifierGroup

source/game/StarStatSet.cpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77bool StatSet::removeStatModifierGroup(StatModifierGroupId modifierSetId) {
78 if (m_statModifierGroups.remove(modifierSetId)) {
79 update(0.0f);
80 return true;
81 }
82 return false;
83}
84
85void StatSet::clearStatModifiers() {
86 if (!m_statModifierGroups.empty()) {

Callers 4

setPersistentEffectsMethod · 0.45
TESTFunction · 0.45

Calls 1

removeMethod · 0.45

Tested by 1

TESTFunction · 0.36