MapFormat.removeTile

Removes a single tile from a TileInfo chunk.

class MapFormat
@trusted
Tag
removeTile
(
int pri
,
int id
,
string source
,
string dpkSource = null
)

Parameters

pri int

Layer priority ID.

id int

Tile character ID.

source string

The file origin of the tiles (file or DataPak path).

dpkSource string

Path to the DataPak file if it's used, null otherwise.

Return Value

Type: Tag

a tag as a backup if tile is found and removed, or null if it's not found.

Meta