MapFormat.isPaletteFileExists

Returns whether the given palette file source exists.

class MapFormat
@trusted
bool
isPaletteFileExists
(
string filename
,
string dataPakSrc = null
)

Parameters

filename string

Path to the file containing the palette.

dataPakSrc string

Path to the DataPak file if used, null otherwise.

Return Value

Type: bool

True if the palette file source exists.

Meta