Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DownloadEntry

A downloader entry which can be added to the queue.

Hierarchy

  • DownloadEntry

Index

Constructors

Properties

customName?: string

Custom file name which will be used to save this file.

id?: string | number

A beatmap or beatmapset ID to download.

md5?: string

MD5 hash of a file for validation.

redownload: boolean = false

Can be used to force redownload of this file.

save: boolean = true

Should file be saved on a disk or not? If you need to download a file and not to save it, you can choose false. In that case all data will be stored in buffer of the download result.

type: DownloadType = DownloadType.Beatmap

A type of file which will be downloaded.

url?: string

Custom URL to download this file.

Accessors

  • get file(): null | string
  • get fileExtension(): string
  • get fileName(): null | string
  • get isArchive(): boolean