Constructor
# new PlaylistItem(item, playlist)
Creates a playlist item (aka a 'map rotation').
Parameters:
Name | Type | Description |
---|---|---|
item |
object
|
data about this item |
mapName |
string
|
name of the map for this item |
mapDuration |
number
|
duration of this rotation in milliseconds |
playlist |
Playlist
|
the parent playlist of this item |
Members
boolean
# LTM Optional
Whether this item is from a playlist which is an LTM. The property only exists when its value is true.
string
# mode
boolean
# ranked Optional
string