CrowdControlEffect

Inherits: Resource < RefCounted < Object

Represents an individual interactivity effect in the CrowdControl system.

Description

CrowdControlEffect defines a single effect that a viewer can trigger in your game, such as giving coins, changing player color, or dealing damage.

Properties

PackedStringArray

category

PackedStringArray()

String

description

""

int

duration

0

String

effect_id

""

Variant

effect_name

null

PackedStringArray

group

PackedStringArray()

bool

inactive

false

String

note

""

Dictionary

parameters

{}

int

price

100

int

quantity_max

1

int

quantity_min

1

Methods

Dictionary

to_json() const


Property Descriptions

PackedStringArray category = PackedStringArray() 🔗

There is currently no description for this property. Please help us by contributing one!

Note: The returned array is copied and any changes to it will not update the original property value. See PackedStringArray for more details.


String description = "" 🔗

  • void set_description(value: String)

  • String get_description()

There is currently no description for this property. Please help us by contributing one!


int duration = 0 🔗

  • void set_duration(value: int)

  • int get_duration()

There is currently no description for this property. Please help us by contributing one!


String effect_id = "" 🔗

There is currently no description for this property. Please help us by contributing one!


Variant effect_name = null 🔗

There is currently no description for this property. Please help us by contributing one!


PackedStringArray group = PackedStringArray() 🔗

There is currently no description for this property. Please help us by contributing one!

Note: The returned array is copied and any changes to it will not update the original property value. See PackedStringArray for more details.


bool inactive = false 🔗

  • void set_inactive(value: bool)

  • bool is_inactive()

There is currently no description for this property. Please help us by contributing one!


String note = "" 🔗

There is currently no description for this property. Please help us by contributing one!


Dictionary parameters = {} 🔗

There is currently no description for this property. Please help us by contributing one!


int price = 100 🔗

  • void set_price(value: int)

  • int get_price()

There is currently no description for this property. Please help us by contributing one!


int quantity_max = 1 🔗

  • void set_quantity_max(value: int)

  • int get_quantity_max()

There is currently no description for this property. Please help us by contributing one!


int quantity_min = 1 🔗

  • void set_quantity_min(value: int)

  • int get_quantity_min()

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

Dictionary to_json() const 🔗

Serializes this CrowdControlEffect into a JSON-compatible dictionary for sending to the CrowdControl API.