Murl Engine Lua Addon API  Version 1.0 beta
Murl.IGameCenterPlayer

The player entry interface.

Player entries are used by the GameCenterPlayerEntries array.


Table members

Methods


GetPlayerId()

Get the player identifier. The player identifier should never be displayed to the player. Use it only as a way to identify a particular player.
Do not make assumptions about the contents of the player identifier string. Its format and length are subject to change.

String GetPlayerId()

Returns
String The player identifier.

GetAlias()

Get the player alias. A string chosen by the player to identify themselves to other players.

String GetAlias()

Returns
String The player alias.

GetDisplayName()

Get the player name. The display name for a player depends on whether the player is a friend of the local player authenticated on the device.
If the player is a friend of the local player, then the display name is the actual name of the player.
If the player is not a friend, then the display name is the player’s alias.

String GetDisplayName()

Returns
String The player name.