@overwolf/ow-electron-packages-types 1.1.10-beta.0 → 1.1.10-beta.1
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/package.json +1 -1
- package/types.d.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron-packages-types",
|
|
3
|
-
"version": "1.1.10-beta.
|
|
3
|
+
"version": "1.1.10-beta.1",
|
|
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",
|
package/types.d.ts
CHANGED
|
@@ -6482,6 +6482,22 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
6482
6482
|
) => void,
|
|
6483
6483
|
): this;
|
|
6484
6484
|
|
|
6485
|
+
/**
|
|
6486
|
+
* Fires when the injected game's window is destroyed, which on many games
|
|
6487
|
+
* happens seconds before the process exits. `game-exit` still follows and
|
|
6488
|
+
* remains the authoritative end-of-session event.
|
|
6489
|
+
*
|
|
6490
|
+
* Not emitted for OOPO games.
|
|
6491
|
+
*
|
|
6492
|
+
* @param eventName - `game-window-destroyed`
|
|
6493
|
+
* @param listener - Callback with the game info of the destroyed window.
|
|
6494
|
+
* @see {@link GameInfo}.
|
|
6495
|
+
*/
|
|
6496
|
+
on(
|
|
6497
|
+
eventName: 'game-window-destroyed',
|
|
6498
|
+
listener: (gameInfo: GameInfo) => void,
|
|
6499
|
+
): this;
|
|
6500
|
+
|
|
6485
6501
|
/**
|
|
6486
6502
|
* Fires when the game input interception capability changes.
|
|
6487
6503
|
*
|