Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.Score.FormattedValue
Returns the player’s score as a localized string.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Score.FormattedValue"; ScoreIdentifier ) More
Parameters
Parameter | Description | Example |
---|---|---|
ScoreIdentifier | The identifier for the score object. |
Result
Returns text or error.
Description
Returns the player’s score as a localized string.This property is invalid on a newly initialized score object. On a score returned from GameKit, it contains a formatted string based on the player’s score. You determine how a score is formatted when you define the leaderboard in App Store Connect.
Never convert the value property into a string directly; always use this method to receive the formatted string.
This function is free to use.
Created 5th November 2018, last changed 8th November 2018