-
Notifications
You must be signed in to change notification settings - Fork 1
Apps
Francisco Dias edited this page Dec 17, 2024
·
2 revisions
This a module that manages application activities.
The following functions are provided to interact with this module:
This function returns the current game language for the given product ID.
Syntax:
GOG_Apps_GetCurrentGameLanguage(productID)
Argument | Type | Description |
---|---|---|
productID | Int64 | The ID of the game or DLC to check. |
Returns:
Example:
var _language = GOG_Apps_GetCurrentGameLanguage(productID);
The code sample above will return the current game language for the provided product identifier.
This function checks if the specified DLC is installed.
Syntax:
GOG_Apps_IsDlcInstalled(productID)
Argument | Type | Description |
---|---|---|
productID | Int64 | The ID of the DLC to check. |
Returns:
Example:
if(GOG_Apps_IsDlcInstalled(productID))
{
//Do something with this DLC
}
The code sample above will check if a given DLC is installed. The developer can then decide what should be done if it is.
GameMaker 2024