Package | com.myflashlab.air.extensions.googleGames |
Class | public class Game |
Inheritance | Game Object |
Property | Defined By | ||
---|---|---|---|
achievementTotalCount : int [read-only]
Retrieves the number of achievements registered for this game. | Game | ||
applicationId : String [read-only]
Retrieves the application ID for this game. | Game | ||
description : String [read-only]
Retrieves the description of this game. | Game | ||
developerName : String [read-only]
Retrieves the name of the developer of this game. | Game | ||
displayName : String [read-only]
Retrieves the display name for this game. | Game | ||
hasGamepadSupport : Boolean [read-only]
Indicates whether or not this game is marked as supporting gamepads. | Game | ||
isRealTimeMultiplayerEnabled : Boolean [read-only]
Indicates whether or not this game supports real-time multiplayer. | Game | ||
isTurnBasedMultiplayerEnabled : Boolean [read-only]
Indicates whether or not this game supports turn-based multiplayer. | Game | ||
leaderboardCount : int [read-only]
Gets the number of leaderboards registered for this game. | Game | ||
primaryCategory : String [read-only]
Retrieves the primary category of the game - this may be null. | Game | ||
secondaryCategory : String [read-only]
Retrieves the secondary category of the game - this may be null. | Game | ||
snapshotsEnabled : Boolean [read-only]
Indicates whether or not this game supports snapshots. | Game | ||
themeColor : String [read-only]
Retrieves the theme color for this game. | Game |
Method | Defined By | ||
---|---|---|---|
loadFeatureImage($forceReload:Boolean, $callback:Function):void | Game | ||
loadHiResImage($forceReload:Boolean, $callback:Function):void | Game | ||
loadIconImage($forceReload:Boolean, $callback:Function):void | Game |
achievementTotalCount | property |
achievementTotalCount:int
[read-only] Retrieves the number of achievements registered for this game.
public function get achievementTotalCount():int
applicationId | property |
applicationId:String
[read-only] Retrieves the application ID for this game.
public function get applicationId():String
description | property |
description:String
[read-only] Retrieves the description of this game.
public function get description():String
developerName | property |
developerName:String
[read-only] Retrieves the name of the developer of this game.
public function get developerName():String
displayName | property |
displayName:String
[read-only] Retrieves the display name for this game.
public function get displayName():String
hasGamepadSupport | property |
hasGamepadSupport:Boolean
[read-only] Indicates whether or not this game is marked as supporting gamepads.
public function get hasGamepadSupport():Boolean
isRealTimeMultiplayerEnabled | property |
isRealTimeMultiplayerEnabled:Boolean
[read-only] Indicates whether or not this game supports real-time multiplayer.
public function get isRealTimeMultiplayerEnabled():Boolean
isTurnBasedMultiplayerEnabled | property |
isTurnBasedMultiplayerEnabled:Boolean
[read-only] Indicates whether or not this game supports turn-based multiplayer.
public function get isTurnBasedMultiplayerEnabled():Boolean
leaderboardCount | property |
leaderboardCount:int
[read-only] Gets the number of leaderboards registered for this game.
public function get leaderboardCount():int
primaryCategory | property |
primaryCategory:String
[read-only] Retrieves the primary category of the game - this may be null.
public function get primaryCategory():String
secondaryCategory | property |
secondaryCategory:String
[read-only] Retrieves the secondary category of the game - this may be null.
public function get secondaryCategory():String
snapshotsEnabled | property |
snapshotsEnabled:Boolean
[read-only] Indicates whether or not this game supports snapshots.
public function get snapshotsEnabled():Boolean
themeColor | property |
themeColor:String
[read-only] Retrieves the theme color for this game. The theme color is used to configure the appearance of Play Games UIs.
public function get themeColor():String
loadFeatureImage | () | method |
public function loadFeatureImage($forceReload:Boolean, $callback:Function):void
Parameters
$forceReload:Boolean | |
$callback:Function — expects one param as File object to the image file.
|
loadHiResImage | () | method |
public function loadHiResImage($forceReload:Boolean, $callback:Function):void
Parameters
$forceReload:Boolean | |
$callback:Function — expects one param as File object to the image file.
|
loadIconImage | () | method |
public function loadIconImage($forceReload:Boolean, $callback:Function):void
Parameters
$forceReload:Boolean | |
$callback:Function — expects one param as File object to the image file.
|