BuildingKillEvent class


A representation of the building kill event.

Signature:

export declare class BuildingKillEvent extends TimelineEvent 

Extends: TimelineEvent

References: TimelineEvent


Constructor

new BuildingKillEvent (data: BuildingKillEventData)

Constructs a new instance of the BuildingKillEvent class.

Parameters:

ParameterTypeDescription
dataBuildingKillEventDataThe raw data of the event.

Properties

assistingParticipantIds

The IDs of the participants that assisted in destroying the building.

Type: Number


bounty

The bounty earned by destroying the building.

Type: Number


buildingType

The type of the building.

Type: String


killerId

The ID of the participant that destroyed the building.

Type: Number


laneType

The lane where the building was destroyed.

Type: String


position

The position at which the building was destroyed.

Type: Position


teamId

The ID of the team that destroyed the building.

Type: Number


towerType

The type of the tower that was destroyed (if it was a tower).

Type: String


type

The type of the event.

Type: 'BUILDING_KILL'


Table of Contents