We're tracking player's Elo score (skill rating) through the Statistics feature. A CloudScript updates Elo scores using the PlayerStatistics:
const request: PlayFabServerModels.UpdatePlayerStatisticsRequest = { PlayFabId: playerId, Statistics: [ { StatisticName: nameElo, Value: elo } ] }; server.UpdatePlayerStatistics(request);
We're currently integrating MatchMaking (public preview) into the game. The idea is that clients don't send their own stats in the CreateMatchmakingTicketRequest call - rather, we want to use "Attribute Source: Player Entity" to directly pull from the PlayFab User DB.
To my understanding, this only supports retrieving data from Entity Objects (https://docs.microsoft.com/en-us/gaming/playfab/features/data/playerdata/entity-objects), not Entity Statistics (https://api.playfab.com/documentation/server/method/GetPlayerStatistics) though, is that correct?
If so, what's the best way to handle this? Should we just extend our CloudScript that updates statistics to also post the same data to an object as well? Or is there a better way?
Thanks a lot!