Hi,
In my game the players have abilities(for example : Strong and luck)
I'm saving these ability values =>
PlayFabClientAPI.ExecuteCloudScript(new ExecuteCloudScriptRequest() { FunctionName = "UpdatePlayerStats", FunctionParameter = new {Strong= PlayerStrong, Luck= PlayerLuck}, GeneratePlayStreamEvent = true, }, OnCloudUpdateStats, OnErrorShared);
I get these values when I need them with "GetPlayerStatistics".
public void GetPlayerStats() { PlayFabClientAPI.GetPlayerStatistics(new GetPlayerStatisticsRequest(),OnGetStats,error => Debug.LogError(error.GenerateErrorReport())); } public void OnGetStats(GetPlayerStatisticsResult result) { foreach (var eachStat in result.Statistics) { switch (eachStat.StatisticName) { case "Player Strong": PlayerStrong= eachStat.Value; break; case "Player Luck": PlayerLuck= eachStat.Value; break; } } }
Strong and luck value is very important to game.
For this reason, malicious people should not reach these values.
Can malicious people reach their strong or luck values?