HTML5 (Javascript) Client Reference
Class client
Language: Javascript (HTML5)
An instance of this class is returned after successfully authenticating a user to PlayerIO. It contains the id of the current user, and methods for making all API calls on behalf of that user.
Example
Authenticate and create a BigDB Object
Properties | ||||
---|---|---|---|---|
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
client.achievements
|
The Achievements service
client.bigDB
|
The BigDB service
client.connectUserId
|
User id of the currently connected user
client.errorLog
|
The ErrorLog service
client.gameFS
|
The GameFS service
client.gameId
|
The game id of the client
client.gameRequests
|
The GameRequests service
client.leaderboards
|
The Leaderboards service
client.multiplayer
|
The Multiplayer service
client.notifications
|
The Notifications service
client.oneScore
|
The OneScore service
client.payVault
|
The PayVault service
client.playerInsight
|
The PlayerInsight service
client.publishingNetwork
|
The PlayerIO Publishing Network service