LevelUpEvent class
A representation of the Level up event.
Signature:
export declare class LevelUpEvent extends TimelineEvent
Extends: TimelineEvent
References: TimelineEvent
Constructor
new LevelUpEvent (data: LevelUpEventData)
Constructs a new instance of the LevelUpEvent
class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | LevelUpEventData | The raw data of the event. |
Properties
level
The level the participant reached.
Type: Number
participantId
The ID of the participant who leveled up.
Type: Number
type
The type of the event.
Type: 'LEVEL_UP'
Table of Contents