Package | net.flashplusplus.Snapdragon.GameCenter |
Class | public class SDScore |
Inheritance | SDScore Object |
Property | Defined By | ||
---|---|---|---|
category : String [read-only]
A String shows the leaderboard that this score belongs to. | SDScore | ||
date : int [read-only]
A String shows the date and time when the score was earned. | SDScore | ||
formattedValue : String [read-only]
A String shows the player’s score as a localized string. | SDScore | ||
playerID : String [read-only]
A String shows the player identifier for the player that earned the score. | SDScore | ||
rank : int [read-only]
A String shows the position of the score in the results of a leaderboard search. | SDScore | ||
value : int [read-only]
A String shows the score earned by the player. | SDScore |
Method | Defined By | ||
---|---|---|---|
SDScore(playerID:String, category:String, date:int, value:int, formattedValue:String, rank:int)
Constructor of SDScore class. | SDScore |
category | property |
category:String
[read-only] A String shows the leaderboard that this score belongs to.
public function get category():String
date | property |
date:int
[read-only] A String shows the date and time when the score was earned.
public function get date():int
formattedValue | property |
formattedValue:String
[read-only] A String shows the player’s score as a localized string.
public function get formattedValue():String
playerID | property |
playerID:String
[read-only] A String shows the player identifier for the player that earned the score.
public function get playerID():String
rank | property |
rank:int
[read-only] A String shows the position of the score in the results of a leaderboard search.
public function get rank():int
value | property |
value:int
[read-only] A String shows the score earned by the player.
public function get value():int
SDScore | () | Constructor |
public function SDScore(playerID:String, category:String, date:int, value:int, formattedValue:String, rank:int)
Constructor of SDScore class.
ParametersplayerID:String — is the player identifier for the player that earned the score.
| |
category:String — is the leaderboard that this score belongs to.
| |
date:int — is the date and time when the score was earned.
| |
value:int — is the score earned by the player.
| |
formattedValue:String — is the player’s score as a localized string.
| |
rank:int — is the position of the score in the results of a leaderboard search.
|