vnite-plugin-sdk
Version:
Vnite Plugin Development SDK
96 lines • 2.06 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.METADATA_EXTRA_PREDEFINED_KEYS = exports.DEFAULT_GAME_VALUES = exports.DEFAULT_GAME_COLLECTION_VALUES = exports.DEFAULT_GAME_LOCAL_VALUES = void 0;
exports.DEFAULT_GAME_LOCAL_VALUES = {
_id: '',
path: {
gamePath: '',
savePaths: []
},
launcher: {
mode: 'file',
fileConfig: {
path: '',
workingDirectory: '',
args: [],
monitorMode: 'folder',
monitorPath: ''
},
urlConfig: {
url: '',
browserPath: '',
monitorMode: 'folder',
monitorPath: ''
},
scriptConfig: {
workingDirectory: '',
command: [],
monitorMode: 'folder',
monitorPath: ''
},
useMagpie: false
},
utils: {
markPath: ''
}
};
exports.DEFAULT_GAME_COLLECTION_VALUES = {
_id: '',
name: '',
sort: 0,
games: []
};
exports.DEFAULT_GAME_VALUES = {
_id: '',
metadata: {
name: '',
originalName: '',
releaseDate: '',
description: '',
developers: [],
publishers: [],
platforms: [],
genres: [],
tags: [],
relatedSites: [],
steamId: '',
vndbId: '',
igdbId: '',
ymgalId: '',
extra: []
},
record: {
addDate: '',
lastRunDate: '',
score: -1,
playTime: 0,
playStatus: 'unplayed',
timers: []
},
save: {
saveList: {},
maxBackups: 7
},
memory: {
memoryList: {}
},
apperance: {
logo: {
position: {
x: 1.5,
y: 24
},
size: 100,
visible: true
},
nsfw: false
}
};
exports.METADATA_EXTRA_PREDEFINED_KEYS = [
'director',
'scenario',
'illustration',
'music',
'engine'
];
//# sourceMappingURL=game.js.map