8 if (this->
state_ ==
nullptr) {
15 if (this->
state_ ==
nullptr) {
22 if (this->
state_ ==
nullptr) {
27 for (
size_t i = 0; i < effects.size(); i++) {
28 if (effects[i] ==
this) {
uint32_t get_index_in_parent_() const
Internal method to find this effect's index in the parent light's effect list.
uint32_t get_index() const
Get the index of this effect in the parent light's effect list.
bool is_active() const
Check if this effect is currently active.
const std::vector< LightEffect * > & get_effects() const
Get all effects for this light state.
uint32_t get_current_effect_index() const
Get the currently active effect index (0 = no effect, 1+ = effect index).
Providing packet encoding functions for exchanging data with a remote host.