Skip to main content

overwolf.games.getRecentlyPlayedGames

Overwolf APIs / overwolf / overwolf / games / getRecentlyPlayedGames

function getRecentlyPlayedGames(
maxNumOfGames: number,
callback: CallbackFunction<GetRecentlyPlayedResult>,
): void;

Returns an array of the maxNumOfGames most recently played game IDs.An empty array will be returned if none have been recorded.

Parameters​

ParameterTypeDescription
maxNumOfGamesnumberThe maximum number of games to receive.
callbackCallbackFunction<GetRecentlyPlayedResult>Called with the array of game IDs.

Returns​

void