Packagecom.adobe.ane.gameCenter
Classpublic class GameCenterPlayer
InheritanceGameCenterPlayer Inheritance Object

Lets you access details of a Game Center player.



Public Properties
 PropertyDefined By
  alias : String
[read-only] Retrieves the alias of the player.
GameCenterPlayer
  id : String
[read-only] Retrieves the id of the player.
GameCenterPlayer
  isFriend : Boolean
[read-only] Retrieves whether the player is a friend of the local player.
GameCenterPlayer
Public Methods
 MethodDefined By
  
GameCenterPlayer(id:String, alias:String, isFriend:Boolean)
GameCenterPlayer object.
GameCenterPlayer
Property Detail
aliasproperty
alias:String  [read-only]

Retrieves the alias of the player.


Implementation
    public function get alias():String
idproperty 
id:String  [read-only]

Retrieves the id of the player.


Implementation
    public function get id():String
isFriendproperty 
isFriend:Boolean  [read-only]

Retrieves whether the player is a friend of the local player.


Implementation
    public function get isFriend():Boolean
Constructor Detail
GameCenterPlayer()Constructor
public function GameCenterPlayer(id:String, alias:String, isFriend:Boolean)

GameCenterPlayer object.

Parameters
id:String — Player identifier string
 
alias:String — Player alias
 
isFriend:Boolean — Indicates whether the player is a friend of the local player