Leaderboard
LB_getInfo
Summary
Get leaderboard table.
Description
Players score and achievements can be saved and shared via mobile application and WOWCube Entertainment System servers. This function provides synced information necessary to display the points table.
Outputs
- info - a structure that hold leaderboard data
Return value
Error codes:
- 0 : success
- -1 : incorrect arguments count
- -2 : leaderboard is not synced
- -3 : failed to fill output structure
Synopsis
Leaderboard
CPPWrapped for easier reading. Turn wrap off to inspect exact line lengths.
LB_getScore
Summary
Get best score data.
Description
Players score and achievements can be saved and shared via mobile application and WOWCube Entertainment System servers. This function provides best score table data.
Inputs
- leadTableBin - a byte array with the resulting data
- bufSize - size of the array
Return value
Error codes:
- 0 : success
- -1 : incorrect arguments count
- -2 : leaderboard is not synced
- -3 : fail to fill output structure
Synopsis
Leaderboard
CPPWrapped for easier reading. Turn wrap off to inspect exact line lengths.