Class Release

Represents a map release.

Constructors

  • Construct a new Release instance.

    Parameters

    • data: {
          difficulty: number;
          height: number;
          mapper: string;
          name: string;
          points: number;
          releaseTimestamp: number;
          thumbnail: string;
          tiles: string[];
          type: string;
          web_preview: string;
          website: string;
          width: number;
      }

    Returns Release

Properties

difficulty: number

Star difficulty of this map.

height: number

The height of this map.

mappers: Mapper[]

Authors of this map.

name: string

The name of this map.

points: number

Amount of points awarded for completing this map.

releasedTimestamp: null | number

Release timestamp of this map.

thumbnailUrl: string

The direct url of this map's thumbnail image.

tiles: Tile[]

Array of tiles used in this map.

type: Type

The type of this map.

url: string

The url of this map on ddnet.org

webPreviewUrl: string

The url to the interactive web preview of this map.

width: number

The width of this map.

Methods

MMNEPVFCICPMFPCPTTAAATR