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:
| Parameter | Type | Description | 
|---|---|---|
| data | ItemDestroyedEventData | The raw data of the event. | 
| item | Item | The 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
