1 #ifndef GALAXY_INIT_OPTIONS_H
2 #define GALAXY_INIT_OPTIONS_H
9 #include "GalaxyThread.h"
44 const char* _clientID,
45 const char* _clientSecret,
46 const char* _configFilePath =
".",
48 const char* _storagePath = NULL,
49 const char* _host = NULL,
Contains definition of custom memory allocator.
Custom thread spawner for the Galaxy SDK.
Definition: GalaxyThread.h:59
Custom memory allocator for GOG Galaxy SDK.
Definition: GalaxyAllocator.h:51
The group of options used for Init configuration.
Definition: InitOptions.h:27
const char * storagePath
The path to folder for storing internal SDK data. Used only on Android devices.
Definition: InitOptions.h:66
GalaxyAllocator * galaxyAllocator
The custom memory allocator used by GOG Galaxy SDK.
Definition: InitOptions.h:67
const char * clientSecret
The secret of the client.
Definition: InitOptions.h:64
uint16_t port
The local port used to communicate with GOG Galaxy Multiplayer server and other players.
Definition: InitOptions.h:70
const char * clientID
The ID of the client.
Definition: InitOptions.h:63
InitOptions(const char *_clientID, const char *_clientSecret, const char *_configFilePath=".", GalaxyAllocator *_galaxyAllocator=NULL, const char *_storagePath=NULL, const char *_host=NULL, uint16_t _port=0, IGalaxyThreadFactory *_galaxyThreadFactory=NULL)
InitOptions constructor.
Definition: InitOptions.h:43
IGalaxyThreadFactory * galaxyThreadFactory
The custom thread factory used by GOG Galaxy SDK to spawn internal threads.
Definition: InitOptions.h:68
const char * configFilePath
The path to folder which contains configuration files.
Definition: InitOptions.h:65
const char * host
The local IP address this peer would bind to.
Definition: InitOptions.h:69