@overwolf/ow-electron-packages-types 0.0.12 → 0.0.14
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.ts +29 -1
- package/overlay.d.ts +23 -4
- package/package.json +1 -1
package/game-list.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// game list version:
|
|
1
|
+
// game list version: 10
|
|
2
2
|
|
|
3
3
|
export const enum kLaunchersIds {
|
|
4
4
|
LOLLauncher = 10902,
|
|
@@ -10,28 +10,43 @@ export const enum kGameIds {
|
|
|
10
10
|
ARKSurvivalAscended = 23476,
|
|
11
11
|
ARKSurvivalEvolved = 10778,
|
|
12
12
|
BaldursGateIII = 22088,
|
|
13
|
+
BlackMythWukong = 24504,
|
|
14
|
+
CallofDutyModernWarfareII = 22328,
|
|
13
15
|
CallOfDutyModernWarfareIII = 23424,
|
|
16
|
+
CallofDutyVanguard = 21876,
|
|
17
|
+
ContentWarning = 24110,
|
|
14
18
|
CS2 = 22730,
|
|
19
|
+
DarkandDarker = 22584,
|
|
20
|
+
Deadlock = 24482,
|
|
21
|
+
Diablo2Resurrected = 21848,
|
|
15
22
|
DiabloIV = 22700,
|
|
16
23
|
Dota2 = 7314,
|
|
17
24
|
ELDENRING = 21866,
|
|
18
25
|
Enshrouded = 23946,
|
|
19
26
|
EscapeFromTarkov = 21634,
|
|
27
|
+
EternalReturnBlackSurvival = 21672,
|
|
20
28
|
EuroTruckSim2 = 8584,
|
|
21
29
|
FinalFantasyXIVOnline = 6350,
|
|
22
30
|
Fortnite = 21216,
|
|
23
31
|
GenshinImpact = 21656,
|
|
24
32
|
GTAV = 1076,
|
|
33
|
+
HadesII = 24218,
|
|
34
|
+
HaloInfinite = 21854,
|
|
25
35
|
HearthstoneHeroesofWarcraft = 9898,
|
|
26
36
|
HELLDIVERS2 = 24000,
|
|
37
|
+
HeroesoftheStorm = 10624,
|
|
38
|
+
HonkaiStarRail = 22804,
|
|
27
39
|
LeagueofLegends = 5426,
|
|
28
40
|
LeagueofLegendsPBE = 22848,
|
|
29
41
|
LegendsofRuneterra = 21620,
|
|
30
42
|
LethalCompany = 23522,
|
|
31
43
|
LostArk = 21864,
|
|
44
|
+
MagictheGatheringArena = 21308,
|
|
45
|
+
ManorLords = 24176,
|
|
32
46
|
Minecraft = 8032,
|
|
33
47
|
MinecraftBedrock = 22176,
|
|
34
48
|
NewWorld = 21816,
|
|
49
|
+
OnceHuman = 23930,
|
|
35
50
|
Osu = 3683,
|
|
36
51
|
Overwatch = 10844,
|
|
37
52
|
Palworld = 23944,
|
|
@@ -41,12 +56,25 @@ export const enum kGameIds {
|
|
|
41
56
|
Roblox = 4688,
|
|
42
57
|
RocketLeague = 10798,
|
|
43
58
|
Rust = 10156,
|
|
59
|
+
SonsoftheForest = 22638,
|
|
60
|
+
SpectreDivide = 24484,
|
|
61
|
+
SplitgateArenaWarfare = 21404,
|
|
62
|
+
StarCraftII = 5855,
|
|
63
|
+
Starfield = 23222,
|
|
64
|
+
Stormgate = 23818,
|
|
44
65
|
TeamfightTactics = 21570,
|
|
66
|
+
TheFinals = 23478,
|
|
67
|
+
TheFirstDescendant = 24360,
|
|
45
68
|
TheSims4 = 10540,
|
|
46
69
|
Valheim = 21668,
|
|
47
70
|
VALORANT = 21640,
|
|
48
71
|
Warframe = 8954,
|
|
72
|
+
Warhammer40000SpaceMarine2 = 24548,
|
|
73
|
+
WorldOfTanks = 6365,
|
|
74
|
+
WorldofWarships = 10746,
|
|
49
75
|
WoW = 765,
|
|
50
76
|
WoWClassic = 21630,
|
|
77
|
+
WutheringWaves = 24300,
|
|
78
|
+
XDefiant = 22994,
|
|
51
79
|
}
|
|
52
80
|
|
package/overlay.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
BrowserWindowConstructorOptions,
|
|
4
4
|
Size,
|
|
5
5
|
WebContents,
|
|
6
|
+
Display,
|
|
7
|
+
Rectangle
|
|
6
8
|
} from 'electron';
|
|
7
9
|
import { EventEmitter } from 'events';
|
|
8
10
|
|
|
@@ -112,10 +114,27 @@ export interface InjectionError {
|
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
export interface GameWindowInfo {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
/** The dimensions of the game window. */
|
|
118
|
+
readonly size: Size;
|
|
119
|
+
|
|
120
|
+
/** The native window handle (HWND) of the game window. */
|
|
121
|
+
readonly nativeHandle: number;
|
|
122
|
+
|
|
123
|
+
/** Indicates whether the game window is currently focused. */
|
|
124
|
+
readonly focused: boolean;
|
|
125
|
+
|
|
126
|
+
/** The graphics API used by the game (e.g., Direct3D 9, 11, 12, Vulkan). */
|
|
127
|
+
readonly graphics: 'd3d9' | 'd3d12' | 'd3d11' | 'vulkan' | string | undefined;
|
|
128
|
+
|
|
129
|
+
/** Display information for the screen on which the game window resides.
|
|
130
|
+
* Available since version 1.5.11.
|
|
131
|
+
*/
|
|
132
|
+
readonly screen?: Display;
|
|
133
|
+
|
|
134
|
+
/** The bounding rectangle of the game window in screen coordinates.
|
|
135
|
+
* Available since version 1.5.11.
|
|
136
|
+
*/
|
|
137
|
+
readonly bounds?: Rectangle;
|
|
119
138
|
}
|
|
120
139
|
|
|
121
140
|
export interface GameInputInterception {
|
package/package.json
CHANGED