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