mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Initial commit
This commit is contained in:
13
src/js/savegame/schemas/1000.js
Normal file
13
src/js/savegame/schemas/1000.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { BaseSavegameInterface } from "../savegame_interface.js";
|
||||
|
||||
const schema = require("./1000.json");
|
||||
|
||||
export class SavegameInterface_V1000 extends BaseSavegameInterface {
|
||||
getVersion() {
|
||||
return 1000;
|
||||
}
|
||||
|
||||
getSchemaUncached() {
|
||||
return schema;
|
||||
}
|
||||
}
|
||||
5
src/js/savegame/schemas/1000.json
Normal file
5
src/js/savegame/schemas/1000.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"additionalProperties": true
|
||||
}
|
||||
Reference in New Issue
Block a user