I've noticed that when I use PlayFabClientAPI.GetLeaderboard, PlayerLeaderboardEntry doesn't contain the timestamp that this score was taken. As part of my leaderboard, I wishes to display the date in which the high score was taken. Is there support for that?
If not, what alternative UX do you suggest here? I assumed it's pretty standard to show when a specific high score was taken.
Thanks,
Noam
Answer by Made Wang · Jun 06 at 10:04 AM
PlayFab does not provide this feature, you can use a rule to execute an Azure Function Cloud Script to write the timestamp to the player data when the Statistic is updated.
When updating Statistic you can get the timestamp in the event data of player_statistic_changed, refer to PlayFab CloudScript using Azure Functions Context Models - PlayFab | Microsoft Docs.
When will functionality to delete player statistics (leaderboards) be available? 1 Answer
Automated Title Content Update and Resetting Leaderboards? 1 Answer
How can I get user information in the leaderboard list? 1 Answer
Client.GetFriendsLeaderboard does not yield results from xBox Live friends 1 Answer