ICELib
1
|
Classes | |
class | iceClientBridge |
opaque iceBridge object used to access the users and tokens as setup by the download client More... | |
Reference Counting | |
void | iceClientBridgeRelease (iceClientBridge *pBridge) |
Release and shutdown the ClientBridge object. | |
Creation and Initialisation | |
iceClientBridge * | iceClientBridgeCreate (const char *gameId) |
Create the ClientBridge object. | |
IceBridgeResult | iceClientBridgeSetServiceCredentials (iceClientBridge *pBridge, iceServiceId serviceId, const char *serviceGameId, const char *serviceSecret) |
Set the games credentials for logging on to a particular service. | |
Session Creation | |
iceGameSession * | iceClientBridgeCreateGameSession (iceClientBridge *pBridge, iceUserId userid) |
Create a gamesession for the given user id. | |
iceGameSession * | iceClientBridgeCreateDefaultGameSession (iceClientBridge *pBridge) |
Create a gamesession for the default user as setup by the launcher. | |
User Access | |
iceUserList * | iceClientBridgeGetUserList (const iceClientBridge *pBridge) |
Get the interface to the user list object set up by the IndieCity Client. | |
iceUserId | iceClientBridgeGetDefaultUserId (const iceClientBridge *pBridge) |
Get the id of the user that should play the game as set up by the launcher. |
iceClientBridge * iceClientBridgeCreate | ( | const char * | gameId | ) | [related] |
Create the ClientBridge object.
[in] | null | terminated cstring of IndieCity Game Id |
iceGameSession * iceClientBridgeCreateDefaultGameSession | ( | iceClientBridge * | pBridge | ) | [related] |
Create a gamesession for the default user as setup by the launcher.
[in] | pBridge | pointer to bridge object |
iceGameSession * iceClientBridgeCreateGameSession | ( | iceClientBridge * | pBridge, |
iceUserId | userid | ||
) | [related] |
Create a gamesession for the given user id.
[in] | pBridge | pointer to bridge object |
userid | id of user to create session for Use iceGameSessionRelease when finished with it |
iceUserId iceClientBridgeGetDefaultUserId | ( | const iceClientBridge * | pBridge | ) | [related] |
Get the id of the user that should play the game as set up by the launcher.
[in] | pBridge | pointer to bridge object |
iceUserList * iceClientBridgeGetUserList | ( | const iceClientBridge * | pBridge | ) | [related] |
Get the interface to the user list object set up by the IndieCity Client.
[in] | pBridge | pointer to bridge object |
void iceClientBridgeRelease | ( | iceClientBridge * | pBridge | ) | [related] |
Release and shutdown the ClientBridge object.
[in] | pBridge | pointer to bridge object |
IceBridgeResult iceClientBridgeSetServiceCredentials | ( | iceClientBridge * | pBridge, |
iceServiceId | serviceId, | ||
const char * | serviceGameId, | ||
const char * | serviceSecret | ||
) | [related] |
Set the games credentials for logging on to a particular service.
[in] | pBridge | pointer to bridge object |
service | which service is this the credentials for | |
serviceGameId | the game's id with the service | |
serviceSecret | the games's secret |