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. PawnLibs/leaderboard/LB\ INFO
Mission NodeSDK 6.1PawnAPI Reference

PawnLibs/leaderboard/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.1 / Pawn / API Reference

PawnLibs/leaderboard/LB_INFO

Summary

Array with named fields with various leaderboard information.

Synopsis

PawnLibs/leaderboard/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

PawnLibs/leaderboard/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

PawnLibs/leaderboard/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()

Jump Grid

On This Page

PawnLibs/leaderboard/LB\ getInfoPawnLibs/leaderboard/LB\ getScore
Context Rail

Related nodes

PawnLibs/wowcore/SELF\ ID
API / SDK 6.1 / Pawn / API Reference
PawnLibs/graphics
API / SDK 6.1 / Pawn / API Reference
PawnLibs/sound/SND\ cacheSounds
API / SDK 6.1 / Pawn / API Reference
PawnLibs/topology
API / SDK 6.1 / Pawn / API Reference
Previous Node
PawnLibs/motion\ sensor
API / SDK 6.1 / Pawn / API Reference
Next Node
PawnLibs/splashscreen/SPLASH\ SCREEN\ MAX\ LEADERS
API / SDK 6.1 / Pawn / API Reference