Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ hasEffect
Method
hasEffect
source/base/StarMixer.cpp:204–207 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
202
}
203
204
bool Mixer::hasEffect(String const& effectName) {
205
MutexLocker locker(m_effectsMutex);
206
return m_effects.contains(effectName);
207
}
208
209
void Mixer::setSpeed(float speed) {
210
m_speed = speed;
Callers
1
update
Method · 0.80
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected