GOG GALAXY SDK Documentation
|
The interface for managing application activities. More...
#include <IApps.h>
Public Member Functions | |
virtual bool | IsDlcInstalled (ProductID productID)=0 |
Checks if specified DLC is installed. More... | |
virtual void | IsDlcOwned (ProductID productID, IIsDlcOwnedListener *const listener)=0 |
Check if user has license for specified DLC. More... | |
virtual const char * | GetCurrentGameLanguage (ProductID productID=0)=0 |
Returns current game language for given product ID. More... | |
virtual void | GetCurrentGameLanguageCopy (char *buffer, uint32_t bufferLength, ProductID productID=0)=0 |
Copies the current game language for given product ID to a buffer. More... | |
virtual const char * | GetCurrentGameLanguageCode (ProductID productID=0)=0 |
Returns current game language code for given product ID. More... | |
virtual void | GetCurrentGameLanguageCodeCopy (char *buffer, uint32_t bufferLength, ProductID productID=0)=0 |
Copies the current game language code for given product ID to a buffer. More... | |
The interface for managing application activities.
|
pure virtual |
Returns current game language for given product ID.
Language name is returned in lowercase, ex. "english", "polish".
[in] | productID | The ID of the game or DLC to check. Zero means the base game itself. |
|
pure virtual |
Returns current game language code for given product ID.
Language code consists of ISO-639 language code and ISO-3166 country code, ex. "en-US", "pl-PL".
[in] | productID | The ID of the game or DLC to check. |
|
pure virtual |
Copies the current game language code for given product ID to a buffer.
Language code consists of ISO-639 language code and ISO-3166 country code, ex. "en-US", "pl-PL".
[in,out] | buffer | The output buffer. |
[in] | bufferLength | The size of the output buffer. |
[in] | productID | The ID of the game or DLC to check. Zero means the base game itself. |
|
pure virtual |
Copies the current game language for given product ID to a buffer.
Language name is returned in lowercase, ex. "english", "polish".
[in,out] | buffer | The output buffer. |
[in] | bufferLength | The size of the output buffer. |
[in] | productID | The ID of the game or DLC to check. Zero means the base game itself. |
|
pure virtual |
Checks if specified DLC is installed.
[in] | productID | The ID of the DLC to check. |
|
pure virtual |
Check if user has license for specified DLC.
Note: this method requires user to be signed in and logged in with Galaxy Client.
[in] | productID | Product ID of DLC to check. |
[in] | listener | Listener for asynchronous response. |