SDLeaderboard is a descriptor class.
It holds informations about one leaderboard of the game in iOS Game Center.
category:String
[read-only]
A String shows the leaderboard ID for the leaderboard.
Implementation public function get category():String
title:String
[read-only]
A String shows the localized title you defined in iTunes Connect.
Implementation public function get title():String
public function SDLeaderboard(category:String, title:String)
Constructor of SDLeaderboard class.
Parameters | category:String — is the leaderboard ID for the leaderboard.
|
|
| title:String — is the localized title you defined in iTunes Connect.
|
public static const PLAYER_SCOPE_FRIENDS:String = friends
public static const PLAYER_SCOPE_GLOBAL:String = global
public static const TIME_SCOPE_ALL_TIME:String = allTime
public static const TIME_SCOPE_TODAY:String = today
public static const TIME_SCOPE_WEEK:String = week
Thu Mar 13 2014, 11:07 AM +01:00