Class: MapCache

MapCache()

This class obtains, caches, and provides the game settings from map XML and JSON files.

Constructor

new MapCache()

Source:

Members

DefaultPreview

Source:

PreviewHeight

Source:

PreviewWidth

Source:

PreviewsPath

Source:

TexturesPath

Source:

cache

Source:

cache[undefined]

Source:

Methods

checkIfExists()

Source:

getMapData()

Source:

getMapPreview()

Source:

getTranslatableMapName()

Doesn't translate, so that lobby page viewers can do that locally. The result is to be used with translateMapName.
Source:

getTranslatedMapDescription()

Source:

previewExists()

Source:

translateMapName()

Source: