Overview
Electron APIs / Packages
Provides access to all available Overwolf APIs bundled in the Electron Overwolf Packages management.
This interface extends overwolf.packages.OverwolfPackageManager
and consolidates
access to key subsystems such as:
recorder
—video capture and replay featuresoverlay
—in-game overlay window management and hotkeysutility
—game tracking and scanning utilitiescrn
—crash report and notification system
It acts as a unified entry point for interacting with Overwolf's capabilities within a packaged app.
Example
const app = overwolf.packages as OWPackages;
// Start tracking game launch/exit events
app.utility.trackGames({ includeUnsupported: true });
// Register for game launch
app.utility.on("game-launched", (gameInfo) => {
console.log("Game launched:", gameInfo.name);
});
// Start recording
await app.recorder.startRecording({
filePath: "C:/Videos/gameplay",
audioTrack: 1,
});
Interfaces
Interface | Description |
---|---|
OWPackages | - |