The player entry interface. More...
#include "murl_i_game_center_entries.h"
Inherited by Murl::Platform::GameCenterPlayer.
Public Member Functions | |
virtual const String & | GetPlayerId () const =0 |
Get the player identifier. More... | |
virtual const String & | GetAlias () const =0 |
Get the player alias. More... | |
virtual const String & | GetDisplayName () const =0 |
Get the player name. More... | |
Detailed Description
The player entry interface.
Player entries are used by the GameCenterPlayerEntries array.
Member Function Documentation
◆ GetPlayerId()
|
pure virtual |
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.
- Returns
- The player identifier.
◆ GetAlias()
|
pure virtual |
Get the player alias.
A string chosen by the player to identify themselves to other players.
- Returns
- The player alias.
◆ GetDisplayName()
|
pure virtual |
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.
- Returns
- The player name.
The documentation for this interface was generated from the following file:
- murl_i_game_center_entries.h