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 |
Syntax
initGameClient(clientID, clientSecret)
Parameters
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. |
Examples
Example 1: Initialize the GOG Galaxy client.
initGameClient("50225266424144145", "45955f1104f99b625a5733fa1848479b43d63bdb98f0929e37c9affaf900e99f")