Skip to content

CCEffectInstance

Properties

CCEffectBase

effect

[get, set]

Target effect behaviour containing the logic.

StreamUser

user

[get, set]

The Twitch user who triggered the effect. This is set to the special CrowdControl.crowdUser value for pooled effects. For local test effect instances, this is set to the special CrowdControl.testUser value.

string

id

[get, set]

Unique identifier of this instance, shared with the server. ID value are never reused. If the effect is tested locally, this ID will be negative.

int

retryCount

[get, set]

How many times has the effect returned EffectResult.Retry when trying to start the instance. If the associated CCEffectBase.maxRetries is reached, the instance is automatically terminated as if starting it returned EffectResult.Failure.

float

unscaledStartTime

[get, set]

Unscaled game time when the effect was triggered.

string

EffectID

[get, ]

The id for the effect that's being used