@overwolf/ow-electron-packages-types 1.1.0-beta.2 → 1.1.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/game-list.d.ts +688 -6
- package/gep-supported-games.d.ts +34 -8
- package/package.json +2 -5
- package/types.d.ts +32 -0
package/gep-supported-games.d.ts
CHANGED
|
@@ -1,34 +1,60 @@
|
|
|
1
1
|
export const enum kGepSupportedGameIds {
|
|
2
2
|
ApexLegends = 21566,
|
|
3
|
+
ArcRaiders = 27168,
|
|
4
|
+
ArknightsEF = 27724,
|
|
3
5
|
BaldursGateIII = 22088,
|
|
4
6
|
BlackMythWukong = 24504,
|
|
7
|
+
CoDGI = 27860,
|
|
8
|
+
CallofDutyModernWarfareII = 22328,
|
|
9
|
+
CallofDutyVanguard = 21876,
|
|
5
10
|
ContentWarning = 24110,
|
|
6
11
|
CS2 = 22730,
|
|
12
|
+
DarkandDarker = 22584,
|
|
13
|
+
Deadlock = 24482,
|
|
7
14
|
DiabloIV = 22700,
|
|
8
15
|
Dota2 = 7314,
|
|
16
|
+
ELDENRINGNIGHTREIGN = 25918,
|
|
17
|
+
EscapeFromTarkov = 21634,
|
|
9
18
|
FinalFantasyXIVOnline = 6350,
|
|
10
19
|
Fortnite = 21216,
|
|
11
20
|
GenshinImpact = 21656,
|
|
12
|
-
|
|
13
|
-
HaloInfinite = 21854,
|
|
21
|
+
HearthstoneHeroesofWarcraft = 9898,
|
|
14
22
|
HELLDIVERS2 = 24000,
|
|
15
23
|
HonkaiStarRail = 22804,
|
|
16
24
|
LeagueofLegends = 5426,
|
|
17
25
|
LeagueofLegendsPBE = 22848,
|
|
18
26
|
LethalCompany = 23522,
|
|
19
|
-
|
|
27
|
+
LostArk = 21864,
|
|
28
|
+
MagictheGatheringArena = 21308,
|
|
29
|
+
MarvelRivals = 24890,
|
|
20
30
|
Minecraft = 8032,
|
|
31
|
+
MinecraftBedrock = 22176,
|
|
32
|
+
MHWilds = 25446,
|
|
33
|
+
NewWorld = 21816,
|
|
21
34
|
OnceHuman = 23930,
|
|
22
35
|
Overwatch = 10844,
|
|
23
36
|
Palworld = 23944,
|
|
24
37
|
PathofExile = 7212,
|
|
25
|
-
|
|
38
|
+
PathofExile2 = 24886,
|
|
39
|
+
PEAK = 26092,
|
|
40
|
+
PUBG = 10906,
|
|
41
|
+
REPO = 25448,
|
|
42
|
+
Rainbow6Siege = 10826,
|
|
43
|
+
REMATCH = 26120,
|
|
44
|
+
Roblox = 4688,
|
|
45
|
+
RobloxMicrosoftedition = 22174,
|
|
46
|
+
RocketLeague = 10798,
|
|
47
|
+
ScheduleI = 25610,
|
|
48
|
+
SonsoftheForest = 22638,
|
|
49
|
+
Splitgate2 = 25884,
|
|
50
|
+
StreetFighter6 = 22894,
|
|
51
|
+
SUPERVIVE = 24346,
|
|
26
52
|
TeamfightTactics = 21570,
|
|
27
53
|
TheFinals = 23478,
|
|
28
|
-
TheFirstDescendant = 24360,
|
|
29
|
-
RocketLeague = 10798,
|
|
30
54
|
VALORANT = 21640,
|
|
55
|
+
Warframe = 8954,
|
|
31
56
|
Warhammer40000SpaceMarine2 = 24548,
|
|
32
|
-
WutheringWaves = 24300,
|
|
33
57
|
WoW = 765,
|
|
34
|
-
|
|
58
|
+
WutheringWaves = 24300,
|
|
59
|
+
XKO = 26840,
|
|
60
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron-packages-types",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.4",
|
|
4
4
|
"description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "types.d.ts",
|
|
@@ -31,10 +31,7 @@
|
|
|
31
31
|
"types": "./gep-supported-games.d.ts"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"tag": "beta"
|
|
36
|
-
},
|
|
37
34
|
"dependencies": {
|
|
38
35
|
"glob": "^13.0.0"
|
|
39
36
|
}
|
|
40
|
-
}
|
|
37
|
+
}
|
package/types.d.ts
CHANGED
|
@@ -61,6 +61,22 @@ interface IOverwolfUtilityApi {
|
|
|
61
61
|
*/
|
|
62
62
|
scan(filter?: GamesFilter): Promise<InstalledGameInfo[]>;
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* install ow-electron helpers to
|
|
66
|
+
* %CommonProgramFiles%\<app-name>\ with UAC elevation.
|
|
67
|
+
* will allow us to inject into high elevation games
|
|
68
|
+
* No-ops if files are already present.
|
|
69
|
+
* @throws {HelperInstallError} exitCode 1223 — user cancelled the UAC prompt (ERROR_CANCELLED)
|
|
70
|
+
* @throws {HelperInstallError} any other non-zero exitCode — installation failed
|
|
71
|
+
*/
|
|
72
|
+
installHighElevationHelper(): Promise<void>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if ow-electron helpers is already installed in
|
|
76
|
+
* %CommonProgramFiles%\<app-name>\.
|
|
77
|
+
*/
|
|
78
|
+
isHighElevationHelperInstalled(): Promise<boolean>;
|
|
79
|
+
|
|
64
80
|
/**
|
|
65
81
|
* Fires when a tracked game is launched.
|
|
66
82
|
*
|
|
@@ -5425,6 +5441,22 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
5425
5441
|
*/
|
|
5426
5442
|
exitExclusiveMode(): void;
|
|
5427
5443
|
|
|
5444
|
+
/**
|
|
5445
|
+
* install ow-electron helpers to
|
|
5446
|
+
* %CommonProgramFiles%\<app-name>\ with UAC elevation.
|
|
5447
|
+
* will allow us to inject into high elevation games
|
|
5448
|
+
* No-ops if files are already present.
|
|
5449
|
+
* @throws {HelperInstallError} exitCode 1223 — user cancelled the UAC prompt (ERROR_CANCELLED)
|
|
5450
|
+
* @throws {HelperInstallError} any other non-zero exitCode — installation failed
|
|
5451
|
+
*/
|
|
5452
|
+
installHighElevationHelper(): Promise<void>;
|
|
5453
|
+
|
|
5454
|
+
/**
|
|
5455
|
+
* Returns true if ow-electron helpers is already installed in
|
|
5456
|
+
* %CommonProgramFiles%\<app-name>\.
|
|
5457
|
+
*/
|
|
5458
|
+
isHighElevationHelperInstalled(): Promise<boolean>;
|
|
5459
|
+
|
|
5428
5460
|
/**
|
|
5429
5461
|
* Fires when an internal error occurs within the overlay system.
|
|
5430
5462
|
*/
|