Home Reference Source
import {SavegameInterface_V1007} from 'shapez.io/js/savegame/schemas/1007.js'
public class | source

SavegameInterface_V1007

Direct Subclass:

SavegameInterface_ML01

Static Method Summary

Static Public Methods
public static

migrate1006to1007(data: import("../savegame_typedefs.js").SavegameData): boolean

Method Summary

Public Methods
public
public

Inherited Summary

From class BaseSavegameInterface
public

data: *

public

Returns the uncached json schema

public
public

Returns the interfaces version

public

Returns the ingame time in seconds

public

Returns the time of last update

public

Validates the data

From class SavegameInterface_V1000
public
public
From class SavegameInterface_V1001
public static

migrate1000to1001(data: import("../savegame_typedefs.js").SavegameData): boolean

public
public
From class SavegameInterface_V1002
public static

migrate1001to1002(data: import("../savegame_typedefs.js").SavegameData): boolean

public
public
From class SavegameInterface_V1003
public static

migrate1002to1003(data: import("../savegame_typedefs.js").SavegameData): boolean

public
public
From class SavegameInterface_V1004
public static

migrate1003to1004(data: import("../savegame_typedefs.js").SavegameData): boolean

public
public
From class SavegameInterface_V1005
public static

migrate1004to1005(data: import("../savegame_typedefs.js").SavegameData): boolean

public
public
From class SavegameInterface_V1006
public static

computeSpriteMapping(): {"sprites/blueprints/belt_top.png": *, "sprites/blueprints/belt_left.png": *, "sprites/blueprints/belt_right.png": *, "sprites/blueprints/splitter.png": *, "sprites/blueprints/splitter-compact.png": *, "sprites/blueprints/splitter-compact-inverse.png": *, "sprites/blueprints/underground_belt_entry.png": *, "sprites/blueprints/underground_belt_exit.png": *, "sprites/blueprints/underground_belt_entry-tier2.png": *, "sprites/blueprints/underground_belt_exit-tier2.png": *, "sprites/blueprints/miner.png": *, "sprites/blueprints/miner-chainable.png": *, "sprites/blueprints/cutter.png": *, "sprites/blueprints/cutter-quad.png": *, "sprites/blueprints/rotater.png": *, "sprites/blueprints/rotater-ccw.png": *, "sprites/blueprints/stacker.png": *, "sprites/blueprints/mixer.png": *, "sprites/blueprints/painter.png": *, "sprites/blueprints/painter-mirrored.png": *, "sprites/blueprints/painter-double.png": *, "sprites/blueprints/painter-quad.png": *, "sprites/blueprints/trash.png": *, "sprites/blueprints/trash-storage.png": *}

public static

migrate1005to1006(data: import("../savegame_typedefs.js").SavegameData): boolean

public static
public
public

Static Public Methods

public static migrate1006to1007(data: import("../savegame_typedefs.js").SavegameData): boolean source

Params:

NameTypeAttributeDescription
data import("../savegame_typedefs.js").SavegameData

Return:

boolean

Public Methods

public getSchemaUncached(): * source

Returns the uncached json schema

Override:

SavegameInterface_V1006#getSchemaUncached

Return:

*

public getVersion(): number source

Returns the interfaces version

Override:

SavegameInterface_V1006#getVersion

Return:

number