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. LB\ INFO
Mission NodeSDK 6.3PawnAPI Reference

LB\ INFO

PawnLibs/leaderboard/LB\ INFO Summary Array with named fields with various leaderboard information. Synopsis define LB INFO [.leadCount, .selfPosition, .self...

API / SDK 6.3 / Pawn / API Reference
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

PawnLibs/leaderboard/LB_INFO

Summary

Array with named fields with various leaderboard information.

Synopsis

LB\ INFO
PAWN
1#define LB_INFO [.leadCount, .selfPosition, .selfScore, .wholeUserListCount]
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Description

Fields:

  • leadCount - how many best results there are available to display
  • selfPosition - place which current user takes
  • selfScore - current users score
  • wholeUserListCount - total users count

See also

  • LB_getInfo()

PawnLibs/leaderboard/LB_getInfo

Summary

Get leaderboard description.

Synopsis

LB\ INFO
PAWN
1native LB_getInfo(info[LB_INFO]);
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

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 points table.

Outputs

  • info - structure describing leaderboard

Return value

Error code:

  • 0 - success
  • -1 - incorrect arguments count
  • -2 - leaderboard is not synced
  • -3 - fail to fill output structure

See also

  • LB_INFO
  • LB_getScore()

PawnLibs/leaderboard/LB_getScore

Summary

Get best results data data.

Synopsis

LB\ INFO
PAWN
1native LB_getScore(leadTableBin[], size = sizeof(leadTableBin));
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Description

Players score and achievements can be saved and shared via mobile application and WOWCube Entertainment System servers. This function provides best results table data.

Inputs

  • size - how many results to get

Outputs

  • leadTableBin - TBD, should be structure with name and score

Return value

Error code:

  • 0 - success
  • -1 - incorrect arguments count
  • -2 - leaderboard is not synced
  • -3 - fail to fill output structure

See also

  • LB_getInfo()

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.

LB_INFOConstant#define LB_INFO [.leadCount, .selfPosition, .selfScore, .wholeUserListCount]
LB_getInfoNativenative LB_getInfo(info[LB_INFO]);
LB_getScoreNativenative LB_getScore(leadTableBin[], size = sizeof(leadTableBin));
Jump Grid

On This Page

PawnLibs/leaderboard/LB\ INFOPawnLibs/leaderboard/LB\ getInfoPawnLibs/leaderboard/LB\ getScore
Back to top ↑
Context Rail

Related nodes

SELF\ ID
API / SDK 6.3 / Pawn / API Reference
graphics
API / SDK 6.3 / Pawn / API Reference
SND\ cacheSounds
API / SDK 6.3 / Pawn / API Reference
topology
API / SDK 6.3 / Pawn / API Reference
Previous Node
motion\ sensor
API / SDK 6.3 / Pawn / API Reference
Next Node
SPLASH\ SCREEN\ MAX\ LEADERS
API / SDK 6.3 / Pawn / API Reference