ICELib  1
Classes
iceClientBridge
ICEBridge - IndieCity Extras client bridge interface

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

iceClientBridgeiceClientBridgeCreate (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

iceGameSessioniceClientBridgeCreateGameSession (iceClientBridge *pBridge, iceUserId userid)
 Create a gamesession for the given user id.
iceGameSessioniceClientBridgeCreateDefaultGameSession (iceClientBridge *pBridge)
 Create a gamesession for the default user as setup by the launcher.

User Access

iceUserListiceClientBridgeGetUserList (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.

Function Documentation

iceClientBridge * iceClientBridgeCreate ( const char *  gameId) [related]

Create the ClientBridge object.

Parameters:
[in]nullterminated cstring of IndieCity Game Id

Create a gamesession for the default user as setup by the launcher.

Parameters:
[in]pBridgepointer to bridge object
iceGameSession * iceClientBridgeCreateGameSession ( iceClientBridge pBridge,
iceUserId  userid 
) [related]

Create a gamesession for the given user id.

Parameters:
[in]pBridgepointer to bridge object
useridid 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.

Parameters:
[in]pBridgepointer to bridge object
Returns:
userid the id of the default user to play games
iceUserList * iceClientBridgeGetUserList ( const iceClientBridge pBridge) [related]

Get the interface to the user list object set up by the IndieCity Client.

Parameters:
[in]pBridgepointer to bridge object
Returns:
pointer to iceUserList object
void iceClientBridgeRelease ( iceClientBridge pBridge) [related]

Release and shutdown the ClientBridge object.

Parameters:
[in]pBridgepointer 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.

Parameters:
[in]pBridgepointer to bridge object
servicewhich service is this the credentials for
serviceGameIdthe game's id with the service
serviceSecretthe games's secret
Returns:
 All Classes Functions