I'm not quite sure how the "Characters" system works here in PlayFab but I was hoping to be able to store character stats with it. The following code is what I am currently trying to do, but I am having issues with Data | Object<Key, Value>
The ErrorMessage returned through OnPlayFabError is "Invalid input parameters" but I don't know what is invalid here. Any idea as to what I should be trying to fix?
Dictionary<string, string> ZeroesDictionary = new Dictionary<string, string>(); ZeroesDictionary.Add("Level", "1"); ZeroesDictionary.Add("Mining", "1"); ZeroesDictionary.Add("Picking", "1"); ZeroesDictionary.Add("Cooking", "1"); ZeroesDictionary.Add("Metal", "1"); UpdateCharacterDataRequest uprequest = new UpdateCharacterDataRequest() { CharacterId = currentCharID, Data = ZeroesDictionary, Permission = UserDataPermission.Public }; PlayFabClientAPI.UpdateCharacterData(uprequest, OnZeroesResult, OnPlayFabError);