Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. Official WOWCube Development Kit

WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelogDeveloper Toolkit
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.

Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. For official documentation and the SDK, see the WOWCube Development Kit.

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
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

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.

Trust & provenance

Document status

Source
Leaderboard · installed SDK headers
Classification
API reference
Verification
Community-maintained · verify against installed SDK

Catalog updated Oct 20, 2018

Structured index

Symbols on this page

Names and signatures are extracted from this SDK-derived page. Signature hashes detect accidental changes.

LeaderboardMember
LB_getInfoMember
LB_getScoreMember
Jump Grid

On This Page

LB getInfoLB getScore
Back to top ↑
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