AI-generated Key Takeaways
-
The
PlayerDataChangedEvent
class provides information about changes to player data, including the type of change, field affected, and new value. -
It is constructed with the event type, field name, and new field value.
-
The event includes properties for accessing the changed field name (
field
), event type (type
), and new field value (value
).
cast.framework.ui. PlayerDataChangedEvent
Player data changed event. Provides the changed field (type), and new value.
Constructor
PlayerDataChangedEvent
new PlayerDataChangedEvent(type, field, value)
Parameter |
|
---|---|
type |
cast.framework.ui.PlayerDataEventType Event type. Value must not be null. |
field |
string The changed field name. |
value |
any type The new field value. |
Properties
field
string
The field name that was changed.
type
non-null cast.framework.ui.PlayerDataEventType
value
any type
The new field value.