Global Command: initGameClient

From The Official Visionaire Studio: Adventure Game Engine Wiki

Initialize the GOG Galaxy client with the given values.

Related functions getGameClientAchievement | getProperty | getGameClientStat | resetGameClientStats | setGameClientAchievement | setGameClientStat


initGameClient(clientID, clientSecret)


Parameter Type Description
clientID string The GOG Galaxy Client ID of your game.
clientSecret string The GOG Galaxy Client Secret of your game.

Return values

Type Description
boolean True if the GOG Galaxy successfully initialized, false if the initialization failed.


Example 1: Initialize the GOG Galaxy client.

initGameClient("50225266424144145", "45955f1104f99b625a5733fa1848479b43d63bdb98f0929e37c9affaf900e99f")