@overwolf/ow-electron-packages-types 1.0.0-beta.2 → 1.0.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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// game list version:
|
|
1
|
+
// game list version: 40
|
|
2
2
|
|
|
3
3
|
export const enum kLaunchersIds {
|
|
4
4
|
LOLLauncher = 10902,
|
|
@@ -3249,6 +3249,7 @@ export const enum kGameIds {
|
|
|
3249
3249
|
WorldofGoo = 4274,
|
|
3250
3250
|
WorldofGoo2 = 25720,
|
|
3251
3251
|
WORLDOFHORROR = 23460,
|
|
3252
|
+
WorldOfTanks = 6365,
|
|
3252
3253
|
WorldofTanksBlitz = 10896,
|
|
3253
3254
|
WorldofWarships = 10746,
|
|
3254
3255
|
WorldofZoo = 5504,
|
|
@@ -3328,5 +3329,4 @@ export const enum kGameIds {
|
|
|
3328
3329
|
Zort = 24928,
|
|
3329
3330
|
Zortch = 25010,
|
|
3330
3331
|
Zula = 10768,
|
|
3331
|
-
}
|
|
3332
|
-
|
|
3332
|
+
}
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { overwolf } from '@overwolf/ow-electron';
|
|
2
|
-
import {
|
|
3
|
-
BrowserWindow,
|
|
4
|
-
BrowserWindowConstructorOptions,
|
|
5
|
-
Size,
|
|
6
|
-
WebContents,
|
|
7
|
-
Display,
|
|
8
|
-
Rectangle
|
|
9
|
-
} from 'electron';
|
|
10
|
-
|
|
11
|
-
import { EventEmitter } from 'events';
|
|
12
|
-
|
|
13
|
-
// -----------------------------------------------------------------------------
|
|
14
|
-
|
|
15
|
-
// --- modules\utility.d.ts ---
|
|
1
|
+
import { overwolf } from '@overwolf/ow-electron';
|
|
2
|
+
import {
|
|
3
|
+
BrowserWindow,
|
|
4
|
+
BrowserWindowConstructorOptions,
|
|
5
|
+
Size,
|
|
6
|
+
WebContents,
|
|
7
|
+
Display,
|
|
8
|
+
Rectangle
|
|
9
|
+
} from 'electron';
|
|
10
|
+
|
|
11
|
+
import { EventEmitter } from 'events';
|
|
12
|
+
|
|
13
|
+
// -----------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
// --- modules\utility.d.ts ---
|
|
16
16
|
/**
|
|
17
17
|
* @packageDocumentation
|
|
18
18
|
*
|
|
@@ -79,9 +79,9 @@ interface IOverwolfUtilityApi {
|
|
|
79
79
|
*/
|
|
80
80
|
on(eventName: 'game-exit', listener: (gameInfo: GameInfo) => void): this;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// --- modules\recorder.d.ts ---
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// --- modules\recorder.d.ts ---
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* The Overwolf Electron recording APIs integrate recording into the Overwolf Electron framework allowing you to record both audio and video.
|
|
@@ -3609,22 +3609,22 @@ interface IOverwolfRecordingApi {
|
|
|
3609
3609
|
options: RecordingAppOptions;
|
|
3610
3610
|
|
|
3611
3611
|
/**
|
|
3612
|
-
* Overlay package version
|
|
3612
|
+
* Overlay package version.
|
|
3613
3613
|
*/
|
|
3614
3614
|
readonly version: string;
|
|
3615
3615
|
|
|
3616
3616
|
/**
|
|
3617
|
-
* Path to ffmpeg
|
|
3617
|
+
* Path to ffmpeg file.
|
|
3618
3618
|
*/
|
|
3619
3619
|
readonly ffmpegPath: string;
|
|
3620
3620
|
|
|
3621
3621
|
/**
|
|
3622
|
-
* Path to
|
|
3622
|
+
* Path to OBS binaries folder.
|
|
3623
3623
|
*/
|
|
3624
3624
|
readonly binFolderPath: string;
|
|
3625
3625
|
|
|
3626
3626
|
/**
|
|
3627
|
-
*
|
|
3627
|
+
* Checks if either recording or replays are currently active.
|
|
3628
3628
|
*/
|
|
3629
3629
|
isActive(): Promise<boolean>;
|
|
3630
3630
|
|
|
@@ -3779,9 +3779,9 @@ interface IOverwolfRecordingApi {
|
|
|
3779
3779
|
*/
|
|
3780
3780
|
on(eventName: 'stats', listener: (args: RecorderStats) => void): this;
|
|
3781
3781
|
}
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
// --- modules\packages.d.ts ---
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
// --- modules\packages.d.ts ---
|
|
3785
3785
|
// -----------------------------------------------------------------------------
|
|
3786
3786
|
//
|
|
3787
3787
|
/**
|
|
@@ -3836,9 +3836,9 @@ interface OWPackages extends overwolf.packages.OverwolfPackageManager {
|
|
|
3836
3836
|
*/
|
|
3837
3837
|
crn: IOverwolfCRNApi;
|
|
3838
3838
|
}
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
// --- modules\overlay.d.ts ---
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
// --- modules\overlay.d.ts ---
|
|
3842
3842
|
/**
|
|
3843
3843
|
* APIs for controlling and creating overlays in games. Overlay is the ability to show windows on top of the current game window.
|
|
3844
3844
|
*
|
|
@@ -4842,9 +4842,9 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
4842
4842
|
listener: (info: GameInputInterception) => void
|
|
4843
4843
|
): this;
|
|
4844
4844
|
}
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
// --- modules\crn.d.ts ---
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
// --- modules\crn.d.ts ---
|
|
4848
4848
|
/**
|
|
4849
4849
|
* The *Content Recommendation Notification* (CRN) APIs give you tools to help manage the content notification settings in your app.
|
|
4850
4850
|
*
|
|
@@ -4981,4 +4981,4 @@ export interface IOverwolfCRNApi {
|
|
|
4981
4981
|
eventName: 'notification-action',
|
|
4982
4982
|
listener: (event: CRNActionType) => void
|
|
4983
4983
|
): this;
|
|
4984
|
-
}
|
|
4984
|
+
}
|
|
Binary file
|