Overview
Electron APIs / gep
The Game Events Provider (GEP) APIs allow your app to subscribe to real-time in-game events and info updates from supported games. GEP detects when a supported game launches, tracks gameplay state, and emits structured events your app can react to.
Game detection
When a supported game is detected, the game-detected event fires. Call event.enable() inside the listener
to activate GEP for that game. If the game is running with elevated privileges, the
elevated-privileges-required event fires instead — your app must also run as administrator for events to be
captured.
Features and info updates
Before events flow, call setRequiredFeatures with the feature names your app needs. GEP will only emit
new-info-update and new-game-event events for features you have registered. Use getFeatures to query
which features a game supports, and getInfo to read the current game state at any point.
Supported events
new-game-event— a discrete in-game event (kill, death, match start, etc.)new-info-update— a change to a persistent game info value (health, score, map, etc.)game-detected— a supported game process was found; callevent.enable()to start GEPgame-exit— the tracked game process has exitedelevated-privileges-required— the game is running as administratorerror— an internal GEP error occurred
Namespaces
| Namespace | Description |
|---|---|
| gep | Namespace for GEP-related interfaces. |
Interfaces
| Interface | Description |
|---|---|
| GepGameLaunchEvent | Game Events game detection Event. |
| OverwolfGameEventPackage | Game Events Package interface. |