GOG GALAXY SDK Documentation
|
Functions | |
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE | Init (const InitOptions &initOptions) |
Initializes the Galaxy Peer with specified credentials. More... | |
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE | Shutdown () |
Shuts down the Galaxy Peer. More... | |
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE | ShutdownEx (const ShutdownOptions &shutdownOptions) |
Shuts down the Galaxy Peer. More... | |
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE | User () |
Returns an instance of IUser. More... | |
GALAXY_DLL_EXPORT IFriends *GALAXY_CALLTYPE | Friends () |
Returns an instance of IFriends. More... | |
GALAXY_DLL_EXPORT IChat *GALAXY_CALLTYPE | Chat () |
Returns an instance of IChat. More... | |
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE | Matchmaking () |
Returns an instance of IMatchmaking. More... | |
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE | Networking () |
Returns an instance of INetworking that allows to communicate as a regular lobby member. More... | |
GALAXY_DLL_EXPORT IStats *GALAXY_CALLTYPE | Stats () |
Returns an instance of IStats. More... | |
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE | Utils () |
Returns an instance of IUtils. More... | |
GALAXY_DLL_EXPORT IApps *GALAXY_CALLTYPE | Apps () |
Returns an instance of IApps. More... | |
GALAXY_DLL_EXPORT IStorage *GALAXY_CALLTYPE | Storage () |
Returns an instance of IStorage. More... | |
GALAXY_DLL_EXPORT ICustomNetworking *GALAXY_CALLTYPE | CustomNetworking () |
Returns an instance of ICustomNetworking. More... | |
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE | Logger () |
Returns an instance of ILogger. More... | |
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE | Telemetry () |
Returns an instance of ITelemetry. More... | |
GALAXY_DLL_EXPORT ICloudStorage *GALAXY_CALLTYPE | CloudStorage () |
Returns an instance of ICloudStorage. More... | |
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE | ProcessData () |
Makes the Galaxy Peer process its input and output streams. More... | |
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE | ListenerRegistrar () |
Returns an instance of IListenerRegistrar. More... | |
GALAXY_DLL_EXPORT IApps* GALAXY_CALLTYPE galaxy::api::Apps | ( | ) |
GALAXY_DLL_EXPORT IChat* GALAXY_CALLTYPE galaxy::api::Chat | ( | ) |
GALAXY_DLL_EXPORT ICloudStorage* GALAXY_CALLTYPE galaxy::api::CloudStorage | ( | ) |
Returns an instance of ICloudStorage.
GALAXY_DLL_EXPORT ICustomNetworking* GALAXY_CALLTYPE galaxy::api::CustomNetworking | ( | ) |
Returns an instance of ICustomNetworking.
GALAXY_DLL_EXPORT IFriends* GALAXY_CALLTYPE galaxy::api::Friends | ( | ) |
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::Init | ( | const InitOptions & | initOptions | ) |
Initializes the Galaxy Peer with specified credentials.
[in] | initOptions | The group of the init options. |
GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE galaxy::api::ListenerRegistrar | ( | ) |
Returns an instance of IListenerRegistrar.
GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE galaxy::api::Logger | ( | ) |
GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE galaxy::api::Matchmaking | ( | ) |
Returns an instance of IMatchmaking.
GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE galaxy::api::Networking | ( | ) |
Returns an instance of INetworking that allows to communicate as a regular lobby member.
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::ProcessData | ( | ) |
Makes the Galaxy Peer process its input and output streams.
During the phase of processing data, Galaxy Peer recognizes specific events and casts notifications for callback listeners immediately.
This method should be called in a loop, preferably every frame, so that Galaxy is able to process input and output streams.
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::Shutdown | ( | ) |
Shuts down the Galaxy Peer.
The Galaxy Peer is deactivated and brought to the state it had when it was created and before it was initialized.
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::ShutdownEx | ( | const ShutdownOptions & | shutdownOptions | ) |
Shuts down the Galaxy Peer.
The Galaxy Peer is deactivated and brought to the state it had when it was created and before it was initialized.
[in] | shutdownOptions | The group of the shutdown options. |
GALAXY_DLL_EXPORT IStats* GALAXY_CALLTYPE galaxy::api::Stats | ( | ) |
GALAXY_DLL_EXPORT IStorage* GALAXY_CALLTYPE galaxy::api::Storage | ( | ) |
GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE galaxy::api::Telemetry | ( | ) |
Returns an instance of ITelemetry.
GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE galaxy::api::User | ( | ) |