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

Method uniqueStatusEffectActive

source/game/StarStatusController.cpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351bool StatusController::uniqueStatusEffectActive(String const& effectName) const {
352 for (auto const& metadata : m_uniqueEffectMetadata.netElements()) {
353 if (metadata->effect == effectName)
354 return true;
355 }
356
357 return false;
358}
359
360const Directives& StatusController::primaryDirectives() const {
361 return m_primaryDirectives;

Callers

nothing calls this directly

Calls 1

netElementsMethod · 0.80

Tested by

no test coverage detected