MatchTimeline class
A representation of the timeline data for a match.
Signature:
export declare class MatchTimeline
Constructor
new MatchTimeline (data: MatchTimelineData, items: Collection<string, Item>)
Constructs a new instance of the MatchTimeline
class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | MatchTimelineData | The raw timeline data from the API. |
items | Collection < String, Item > | A collection of all items in the game. |
Properties
dataVersion
The version of the timeline data.
Type: String
frameInterval
The interval between frames.
Type: Number
frames
The returned frames in the match timeline.
Type: TimelineFrame
matchId
The ID of the match.
Type: String
participantIds
The IDs of the participants in the match.
Type: String
Table of Contents