ItemPurchasedEvent class
A representation of the Item Purchased event.
Signature:
export declare class ItemPurchasedEvent extends TimelineEvent
Extends: TimelineEvent
References: TimelineEvent
Constructor
new ItemPurchasedEvent (data: ItemPurchasedEventData, item: Item)
Constructs a new instance of the ItemPurchasedEvent
class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | ItemPurchasedEventData | The raw data of the event. |
item | Item | The item that was purchased. |
Properties
item
The item that was purchased.
Type: Item
participantId
The participant who purchased the item.
Type: Number
type
The type of the event.
Type: 'ITEM_PURCHASED'
Table of Contents