WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Leaderboard
Mission NodeSDK 6.1C++API Reference

Leaderboard

Leaderboard LB getInfo Summary Get leaderboard table. Description Players score and achievements can be saved and shared via mobile application and WOWCube E...

API / SDK 6.1 / C++ / API Reference

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
CPP
1i32_t LB_getInfo(Cubios::LB_info_t* info);
2
Wrapped 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
CPP
1i32_t LB_getScore(uint8_t* leadTableBin, u32_t bufSize);
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Jump Grid

On This Page

LB getInfoLB getScore
Context Rail

Related nodes

Global Defines
API / SDK 6.1 / C++ / API Reference
Data Structures
API / SDK 6.1 / C++ / API Reference
Enumerated Types
API / SDK 6.1 / C++ / API Reference
Application
API / SDK 6.1 / C++ / API Reference
Previous Node
Motion Sensors
API / SDK 6.1 / C++ / API Reference
Next Node
Logging
API / SDK 6.1 / C++ / API Reference