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:

ParameterTypeDescription
dataItemSoldEventDataThe raw data of the event.
itemItemThe 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