ItemDestroyedEvent class


A representation of the Item destroyed event.

Signature:

export declare class ItemDestroyedEvent extends TimelineEvent 

Extends: TimelineEvent

References: TimelineEvent


Constructor

new ItemDestroyedEvent (data: ItemDestroyedEventData, item: Item)

Constructs a new instance of the ItemDestroyedEvent class.

Parameters:

ParameterTypeDescription
dataItemDestroyedEventDataThe raw data of the event.
itemItemThe destroyed item.

Properties

item

The destroyed item.

Type: Item


participantId

The ID of the participant that destroyed the item.

Type: Number


type

The type of the event.

Type: 'ITEM_DESTROYED'


Table of Contents