| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
GameKit.Player.DisplayName
Queries name to display.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Player.DisplayName"; PlayerID ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| PlayerID | The player identifier. | $player |
Result
Returns name or error.
Description
Queries name to display.Returns the string to display for the player.
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.
This function is free to use.
Created 5th November 2018, last changed 8th November 2018