Skip to main content

overwolf.games.launchers API

Returns an object with events and functions related to game launcher status.

Methods Reference

Events Reference

Types Reference

getRunningLaunchersInfo(callback)

Version added: 0.103

Returns an object with information about currently running launchers.

ParameterTypeDescription
callback(Result:GetRunningLaunchersInfoResult) => voidCalled with the currently running detected launchers

onUpdated

Version added: 0.103

Fired when launcher info is updated, with the following structure: UpdatedEvent Object.

onLaunched

Version added: 0.103

Fired when a launcher has launched, with the following structure: LauncherInfo Object.

onTerminated

Version added: 0.103

Fired when a launcher is closed, with the following structure: LauncherInfo Object.

GetRunningLaunchersInfoResult Object

ParameterTypeDescription
successboolean
errorstringnull if success is true
launchersLauncherInfo[]an array of currently running detected launchers

Example data: Success

{  
"success": true,
"launchers":[
{
"title":"League of Legends Launcher",
"id":54271,
"classId":5427,
"isInFocus":false,
"position":{
"top":252,
"left":2066,
"width":1280,
"height":720
},
"handle":329882,
"commandLine":"E:/Games/RADS/projects/league_client/releases/0.0.0.65/deploy/LeagueClientUx.exe "--release=0.0.0.35" "--remoting-auth-token=scIN957coAwcbo0WW78nzg" "--rads-product-directory=E:/Games/RADS/solutions/league_client_sln/releases/0.0.0.35/deploy/" "--respawn-command=LeagueClient.exe" "--respawn-display-name=League of Legends" "--app-port=57610" "--install-directory=E:/Games/" "--app-name=LeagueClient" "--ux-name=LeagueClientUx" "--ux-helper-name=LeagueClientUxHelper" "--log-dir=LeagueClient Logs" "--bugsplat-name=league_client_riotgames_com" "--bugsplat-platform-id=EUW1" "--project=LeagueClient" "--app-log-file-path=E:/Games/Logs/LeagueClient Logs/2017-04-20T11-12-28_9576_LeagueClient.log" "--app-pid=9576"",
"processId":1468,
"path":"E:/Games/RADS/projects/league_client/releases/0.0.0.65/deploy/LeagueClientUx.exe"
}
]
}

LauncherInfo Object

ParameterTypeDescription
titlestring
idnumber
classIdnumber
isInFocusboolean
positionPosition object
handlenumber
commandLinestring
processIdnumber
pathstring

Position Object

Returns the launcher’s window position

ParameterTypeDescription
heightnumber
leftnumber
topnumber
widthnumber

UpdatedEvent Object

ParameterTypeDescriptionNotes
infoLauncherInfo ObjectLauncher info data
changeTypestring[]New game info data

Event data example: Success

"info":
{
"title":"League of Legends Launcher",
"id":54271,
"classId":5427,
"isInFocus":false,
"position":{
"top":252,
"left":2066,
"width":1280,
"height":720
},
"handle":329882,
"commandLine":"E:/Games/RADS/projects/league_client/releases/0.0.0.65/deploy/LeagueClientUx.exe",
"processId":1468,
"path":"E:/Games/RADS/projects/league_client/releases/0.0.0.65/deploy/LeagueClientUx.exe"
},
"changeType":
{
//including game name, game running, game terminated, game changing focus, etc.
}