PlayerIO

The fastest way to build online games without breaking a sweat.

HTML5 (Javascript) Client Reference

javascript (html5) leaderboardEntry class informationClass leaderboardEntry

Language: Javascript (HTML5)

This class encapsulates a leaderboard entry for a user, it contains the connectUserId, the absolute rank of the user, and the score of the user on the leaderboard this entry was loaded from.

Properties

 
rank :Number

The absolute rank for this user

score :Number

The score for this user

userId :String

The connectUserId

leaderboardEntry.rank

rank :Number

The absolute rank for this user

leaderboardEntry.score

score :Number

The score for this user

leaderboardEntry.userId

userId :String

The connectUserId