|
ICELib
1
|
opaque type for manipulating the session with More...
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 | |
| iceGameSession * | iceGameSessionCreate () |
| 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 | |
| iceEvent * | iceGameSessionGetEvent (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. | |
opaque type for manipulating the session with
1.7.6.1