Instance Property

alias

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

Declaration

var alias: String { get }

Discussion

A player’s alias is used when a player is not a friend of the local player. Typically, you never display the alias string directly in your user interface. Instead use the displayName property.

See Also

Player Details

var displayName: String

A string to display for the player.

var isFriend: Bool

A Boolean value that indicates whether this player is a friend of the local player.

Deprecated