ICELib  1
iceGameSession Class Reference

opaque type for manipulating the session with More...

List of all members.

Public Member Functions

Reference Counting
void iceGameSessionAddReference (iceGameSession *pGameSession)
 increment the ref count of the game session
void iceGameSessionRelease (iceGameSession *pGameSession)
 free up the game session
Creation and Initialisation
iceGameSessioniceGameSessionCreate ()
 Set the credentials of the game connecting to IndieCity.
IceCoreResult iceGameSessionSetUserAccessToken (iceGameSession *pGameSession, iceServiceId serviceId, const char *accessToken, const char *tokenSecret)
 set the user access token for an application
IceCoreResult iceGameSessionSetGameCredentials (iceGameSession *pGameSession, iceServiceId serviceId, const char *gameId, const char *secret)
 //set the games id and secret for a service
Session Starting
IceCoreResult iceGameSessionRequestStart (iceGameSession *pSession)
 Attempt to connect to IndieCity server.
IceCoreResult iceGameSessionRequestEnd (iceGameSession *pSession)
 Disconnect from IndieCity server.
IceCoreResult iceGameSessionUpdate (iceGameSession *pSession)
Properties
iceEventiceGameSessionGetEvent (iceGameSession *pSession, iceGameSessionEvent eventId)
 get an event interface pointer
bool iceGameSessionIsSessionStarted (const iceGameSession *pSession)
 test if session is started
iceLicenseState iceGameSessionGetUserLicenseState (const iceGameSession *pSession)
 Get the license state.

Detailed Description

opaque type for manipulating the session with

 All Classes Functions