Class: PlayerDataChangedEvent

  • 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).

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.