Creates new instance from scratch.
Serializes itself from string.
Adds an embedded MapData to a TileLayer.
Adds an embedded palette to the document.
Adds a TileData file to a TileLayer. Filename must contain relative path.
Adds a layer from external tag.
Adds a new TileLayer to the document.
Adds a palette file source to the document.
Adds a single TileInfo to a preexisting chunk on the layer.
Ditto, but from preexiting Tag.
Adds a new subtag to a layer's property tag.
Adds a new tag to a layer.
Adds TileInfo to a TileLayer. Joins together multiple chunks with the same source identifier. (should be a path)
Ditto, but from preexisting Tag.
Adds a tile source file to a TileLayer.
Edits the values of a layer's subtag. Returns the original values in an array.
Edits the values of a layer's tag. Returns the original values in an array.
Returns all tile sources for a given layer. Intended to use with a loader.
Returns all layer's basic information.
Gets the values of a layer's tag.
Gets the values of a layer's root tag.
Gets the values of a layer's tag.
Returns a selected tile layer's all tile's basic information. Mainly used to display information in editors.
Accesses tile source tags in documents for adding extra data (eg. tile names).
Returns the requested layer
Pulls TileLayer data from the layer, and stores it in the preconfigured location. Only works with uncompressed data due to the need of recompression.
Removes embedded TileData from a TileLayer. Returns a backup for undoing.
Removes a given layer of any kind. Returns the Tag of the layer as a backup.
Removes a layer's tag. Returns a backup for undoing.
Removes a TileData file from a TileLayer. Returns a backup for undoing.
Removes a single tile from a TileInfo chunk. Returns a tag as a backup. Returns null if source is not found.
Removes a tile source. Returns a backup copy.
Layerdata stored as SDLang tags.
Used to fast map and object data pullback in editors
Stores metadata.
Root tag for common information.
Stores basic TileData that are loaded through extensions
Serializes/deserializes PPE map data in SDLang format. Each layer can contain objects (eg. for marking events, clipping, or sprites if applicable), tilemapping (not for SpriteLayers), embedded data such as tilemapping or scripts, and so on. <br/> Note on layer tags: As of this version, additional tags within layers must have individual names. Subtags within a parent also need to have individual names. Namespaces are reserved for internal use (eg. file sources, objects).