Skip to content

MapVersion beta ​

Interface of @v12-engine/client

ts
export interface MapVersion

A version of a map, kept as it was saved (campaign plan EQ15): its file's text gzipped, which map it is, and when

Members ​

at ​

ts
at: number;

Milliseconds since 1970: when it was saved

bytes ​

ts
bytes: Uint8Array;

The map's file, gzipped (mapVersionText reads it)

kept ​

ts
kept: number;

How big it is kept, gzipped, in bytes

key ​

ts
key: string;

Which map it is a version of, among the game's: as a draft says it (Draft.key: file:<name>, kept:<id>)

name ​

ts
name: string;

The map's name as it was saved, as a list of versions shows it

size ​

ts
size: number;

How big the map's file was, in bytes