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

Method addEphemeralStatusEffects

source/game/StarPlayer.cpp:449–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void Player::addEphemeralStatusEffects(List<EphemeralStatusEffect> const& statusEffects) {
450 if (isSlave())
451 throw PlayerException("Adding status effects to an entity can only be done directly on the master entity.");
452 m_statusController->addEphemeralEffects(statusEffects);
453}
454
455ActiveUniqueStatusEffectSummary Player::activeUniqueStatusEffectSummary() const {
456 return m_statusController->activeUniqueStatusEffectSummary();

Callers

nothing calls this directly

Calls 1

addEphemeralEffectsMethod · 0.45

Tested by

no test coverage detected