Removed gameDir and lastPlayed properties

pull/47/head
MillenniumEarl 2020-11-07 18:01:48 +01:00
parent 6debf659da
commit 91b383fc6b
1 changed files with 36 additions and 46 deletions

View File

@ -4,24 +4,24 @@ class GameInfo {
constructor() { constructor() {
//#region Properties //#region Properties
/** /**
* Game name * Game name
* @type String * @type String
*/ */
this.name = null; this.name = null;
/** /**
* Game author * Game author
* @type String * @type String
*/ */
this.author = null; this.author = null;
/** /**
* URL to the game's official conversation on the F95Zone portal * URL to the game's official conversation on the F95Zone portal
* @type String * @type String
*/ */
this.url = null; this.url = null;
/** /**
* Game description * Game description
* @type String * @type String
*/ */
this.overview = null; this.overview = null;
/** /**
* Game language. * Game language.
@ -40,55 +40,45 @@ class GameInfo {
*/ */
this.censored = null; this.censored = null;
/** /**
* List of tags associated with the game * List of tags associated with the game
* @type String[] * @type String[]
*/ */
this.tags = []; this.tags = [];
/** /**
* Graphics engine used for game development * Graphics engine used for game development
* @type String * @type String
*/ */
this.engine = null; this.engine = null;
/** /**
* Progress of the game * Development of the game
* @type String * @type String
*/ */
this.status = null; this.status = null;
/** /**
* Game description image URL * Game description image URL
* @type String * @type String
*/ */
this.previewSrc = null; this.previewSrc = null;
/** /**
* Game version * Game version
* @type String * @type String
*/ */
this.version = null; this.version = null;
/** /**
* Last time the game underwent updates * Last time the game underwent updates
* @type String * @type Date
*/ */
this.lastUpdate = null; this.lastUpdate = null;
/** /**
* Last time the local copy of the game was run * Specifies if the game is original or a mod
* @type String * @type Boolean
*/ */
this.lastPlayed = null;
/**
* Specifies if the game is original or a mod
* @type Boolean
*/
this.isMod = false; this.isMod = false;
/** /**
* Changelog for the last version. * Changelog for the last version.
* @type String * @type String
*/ */
this.changelog = null; this.changelog = null;
/**
* Directory containing the local copy of the game
* @type String
*/
this.gameDir = null;
//#endregion Properties //#endregion Properties
} }