-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstructs.js
More file actions
45 lines (40 loc) · 866 Bytes
/
structs.js
File metadata and controls
45 lines (40 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @enum */
const Resolution = {
sd: 0,
hd: 1,
uhd: 2
}
/** @enum */
const Version = {
VLitePinkMoreGames: -1,
V2113: 0,
V2204: 1,
V22073: 2,
V22074: 3,
V2208: 4,
V22081: 5,
VGeode4100: 1000,
VGeode520: 1001
}
/** @enum */
const FileType = {
Plist: 0,
Image: 1
}
// this is a great name and you cannot convince me otherwise
class PlistAndImageComboDeal {
/**
* @param {string} name
* @param {number} resolution
* @param {number} version
* @param {HTMLImageElement} imageElement
* @param {Array<PlistDict>} plistDictArray
*/
constructor(name, resolution, version, imageElement, plistDictArray) {
this.name = name
this.resolution = resolution
this.version = version
this.image = imageElement
this.plist = plistDictArray
}
}