Class

Playlist

Playlist(playlistData, seasonData)

Base Playlist class, used as a foundation for the more specialised playlist types. You will rarely if ever see this class used explicitly - refer to the specialised Playlist derivatives for each mode:

Constructor

# new Playlist(playlistData, seasonData)

Parses a playlist from playlistData

Parameters:
Name Type Description
playlistData object

data for this playlist parsed from /data/seasons.json

seasonData object

data for the parent season parsed from /data/seasons.json

View Source classes/Playlist.js, line 12

Members

Date

# baseTime Optional

The time to use as base for calculating rotation times. This is needed for some playlists as they appear to start at odd times that don't align with the season start, mode start, or even each other.

View Source classes/Playlist.js, line 64

Date

# endTime

The time at which this playlist ends.

View Source classes/Playlist.js, line 87

boolean

# LTM Optional

Whether this playlist is a Limited Time Mode.

View Source classes/Playlist.js, line 27

Array.<string>

# maps

Array of maps used in this playlist.

View Source classes/Playlist.js, line 95

string

# mode

The mode of the playlist (e.g. Play Apex, Ranked Leagues)

View Source classes/Playlist.js, line 25

boolean

# ranked Optional

Whether this is a ranked playlist.

View Source classes/Playlist.js, line 55

string

# replaces Optional

The 'standard' playlist that a takeover LTM replaces.

View Source classes/Playlist.js, line 45

Date

# startTime

The time at which this playlist starts.

View Source classes/Playlist.js, line 79

boolean

# takeover Optional

Whether this playlist is a takeover-style limited time mode (i.e. that it replaces a 'regular' mode for its duration).

View Source classes/Playlist.js, line 36