<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wowcube.com/index.php?action=history&amp;feed=atom&amp;title=SDK_6.3%2FC%2B%2B%2FLeaderboard</id>
	<title>SDK 6.3/C++/Leaderboard - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wowcube.com/index.php?action=history&amp;feed=atom&amp;title=SDK_6.3%2FC%2B%2B%2FLeaderboard"/>
	<link rel="alternate" type="text/html" href="https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Leaderboard&amp;action=history"/>
	<updated>2026-07-26T22:48:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Leaderboard&amp;diff=16965&amp;oldid=prev</id>
		<title>WowBot: Split C++ Native API into per-module pages with minimal examples (WowBot)</title>
		<link rel="alternate" type="text/html" href="https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Leaderboard&amp;diff=16965&amp;oldid=prev"/>
		<updated>2026-07-26T09:47:44Z</updated>

		<summary type="html">&lt;p&gt;Split C++ Native API into per-module pages with minimal examples (WowBot)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{notice|'''Official WOWCube SDK documentation.''' SDK 6.3, C++ (WebAssembly) API. Signatures are extracted from the canonical SDK headers shipped with the WOWCube Development Kit; the headers remain authoritative.}}&lt;br /&gt;
&lt;br /&gt;
{{SDK 6.3 nav}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''← [[SDK 6.3]] · [[SDK 6.3/C++/Native API|C++ Native API]] / Leaderboard''&lt;br /&gt;
&lt;br /&gt;
Scores and rankings synced via the companion app.&lt;br /&gt;
&lt;br /&gt;
Shared types, enums and constants are listed on the [[SDK 6.3/C++/Native API#Types and data structures|Native API overview]].&lt;br /&gt;
&lt;br /&gt;
== Minimal example ==&lt;br /&gt;
&lt;br /&gt;
Query the synced points table:&lt;br /&gt;
&lt;br /&gt;
 Cubios::LB_info_t info;&lt;br /&gt;
 LB_getInfo(&amp;amp;info);&lt;br /&gt;
 LOG_i(&amp;quot;my place: %d of %d\n&amp;quot;, info.selfPosition, info.wholeUserListCount);&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&lt;br /&gt;
===LB_getInfo===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t LB_getInfo(Cubios::LB_info_t* info)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get leaderboard description.&lt;br /&gt;
: Players score and achievements can be saved and shared via mobile&lt;br /&gt;
: application and WOWCube Entertainment System servers. This function&lt;br /&gt;
: provides synced information necessary to display points table.&lt;br /&gt;
: Outputs&lt;br /&gt;
:* info - structure describing leaderboard&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Error code:&lt;br /&gt;
: * 0 - success&lt;br /&gt;
: * -1 - incorrect arguments count&lt;br /&gt;
: * -2 - leaderboard is not synced&lt;br /&gt;
: * -3 - fail to fill output structure&lt;br /&gt;
&lt;br /&gt;
===LB_getScore===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t LB_getScore(uint8_t* leadTableBin, u32_t bufSize)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get best results data data.&lt;br /&gt;
: Players score and achievements can be saved and shared via mobile&lt;br /&gt;
: application and WOWCube Entertainment System servers. This function&lt;br /&gt;
: provides best results table data.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Error code:&lt;br /&gt;
: * 0 - success&lt;br /&gt;
: * -1 - incorrect arguments count&lt;br /&gt;
: * -2 - leaderboard is not synced&lt;br /&gt;
: * -3 - fail to fill output structure&lt;br /&gt;
&lt;br /&gt;
History:&lt;br /&gt;
: v5.0 - align error codes with LB_getInfo.&lt;br /&gt;
&lt;br /&gt;
[[Category:SDK 6.3]]&lt;br /&gt;
[[Category:C++ API]]&lt;/div&gt;</summary>
		<author><name>WowBot</name></author>
		
	</entry>
</feed>