Player Statistics
The BrainCloudPlayerStatistics service is used for all user-scoped statistics operations, including Player Experience (XP).
User Stats must be pre-defined from the Statistics Rules - User Statistics page
API Summary
- SysResetExperiencePointsAndLevelForUser - System call (cloud code only from client) to reset the experience points for the specified user to a given value. The user's experienceLevel will remain unchanged unless recalculateXPLevel is true, in which case the user's experienceLevel will also be reset to the applicable level (to be used with caution). If the XP points value to be reset is HIGHER than the user's current experiencePoints, an error is returned unless skipResetIfUserXPPointsAlreadyLower is true.
All the client APIs that the names beigin with "Sys" are also available to S2S. For the usages of the S2S report APIs (if they are not listed at this section), refer to brainCloud client playerStatistics APIs.
🗃️ Cloud Code Bridge
18 items
🗃️ Authentication
1 item
🗃️ Chat
12 items
🗃️ Custom Entity
6 items
🗃️ Event
1 item
🗃️ Friend
1 item
🗃️ Gamification
1 item
🗃️ Global App
1 item
🗃️ Global Entity
17 items
🗃️ Global File
18 items
🗃️ Global Statistics
5 items
🗃️ Group
1 item
🗃️ Group File
1 item
🗃️ Heartbeat
1 item
🗃️ HTTP Client
8 items
🗃️ Identity
1 item
🗃️ Item Catalog
9 items
🗃️ Leaderboard
9 items
🗃️ Lobby
6 items
🗃️ Logging
6 items
3 items
🗃️ Messaging
7 items
📄️ Playback Stream
The PlaybackStreamService allows for the creation and replay of a series of events. A Stream can be created using the StartStream call.
📄️ Player Statistics
The BrainCloudPlayerStatistics service is used for all user-scoped statistics operations, including Player Experience (XP).
🗃️ Presence
4 items
🗃️ ProductManagement
9 items
🗃️ Promotions
6 items
🗃️ Push Notifications
14 items
🗃️ Redemption Codes
6 items
📄️ Report
Report is a new service that allows devs to retrieve user-analytics-report data programmatically via S2S and cloud-code.
📄️ RoomServer
RoomServer service allows devs to directly launch hosted servers without going through lobby matchmaking.
🗃️ RTT
1 item
🗃️ Script
11 items
🗃️ Segment
1 item
🗃️ SuperRTT
2 items
🗃️ Time
1 item
🗃️ Tournament
2 items
📄️ User
The User service, introduced in version 4.3, supports basic user CRUD operations and allows iteration over all users in an app. Note that this service is only accessible via Cloud Code.
📄️ User Items
The User Items service, introduced in 4.2, is used to manage a collection of in-app items that users can be awarded, buy, sell, or trade (using virtual currency). Optionally, these items can be backed up to the blockchain.
🗃️ Virtual Currency
3 items