Skip to content

ProjectMapFacts beta ​

Interface of @v12-engine/editor

ts
export interface ProjectMapFacts extends ProjectMap

What a map file is, read from it (Project.mapFacts)

Members ​

depth ​

ts
depth?: number;

The map's depth in cells

error ​

ts
error?: string;

What was wrong as it was read, in the place of the rest

players ​

ts
players?: number;

How many seats it has

preview ​

ts
preview?: string;

The picture kept with it

title ​

ts
title?: string;

The name it says, not its file's

version ​

ts
version?: string;

A hash of the file (mapVersion)

width ​

ts
width?: number;

The map's width in cells