Package | com.myflashlab.air.extensions.googleGames |
Class | public class PlayerLevelInfo |
Inheritance | PlayerLevelInfo Object |
Property | Defined By | ||
---|---|---|---|
currentLevel : PlayerLevel [read-only]
Getter for the player's current level object. | PlayerLevelInfo | ||
currentXpTotal : Number [read-only]
The player's current XP value. | PlayerLevelInfo | ||
isMaxLevel : Boolean [read-only]
true if the player reached the maximum level getCurrentLevel is the same as
getNextLevel. | PlayerLevelInfo | ||
lastLevelUpTimestamp : Number [read-only]
The timestamp of the player's last level-up. | PlayerLevelInfo | ||
nextLevel : PlayerLevel [read-only]
Getter for the player's next level object. | PlayerLevelInfo |
currentLevel | property |
currentLevel:PlayerLevel
[read-only]
Getter for the player's current level object. This object will be the same as the one returned from
nextLevel
if the player reached the maximum level.
public function get currentLevel():PlayerLevel
currentXpTotal | property |
currentXpTotal:Number
[read-only] The player's current XP value.
public function get currentXpTotal():Number
isMaxLevel | property |
isMaxLevel:Boolean
[read-only]
true if the player reached the maximum level getCurrentLevel
is the same as
getNextLevel
.
public function get isMaxLevel():Boolean
lastLevelUpTimestamp | property |
lastLevelUpTimestamp:Number
[read-only] The timestamp of the player's last level-up.
public function get lastLevelUpTimestamp():Number
nextLevel | property |
nextLevel:PlayerLevel
[read-only]
Getter for the player's next level object. This object will be the same as the one returned from
currentLevel
if the player reached the maximum level.
public function get nextLevel():PlayerLevel