amieldanao
started a topic on Sun, 07 June 2015 at 1:29 AM
So I'm trying to change/update my player's item custom data using : PlayFabServerAPI.UpdateUserInventoryItemCustomData
but it throws that error,
btw I'm using
ApiRevision = "1.2.7";
SdkRevision = "1.0.6"
Here is my code, am I missing something here?
or just the function is not really there yet?
PlayFab.ServerModels.UpdateUserInventoryItemCustomDataRequest request = new PlayFab.ServerModels.UpdateUserInventoryItemCustomDataRequest();
request.PlayFabId = currPlayFabId;
request.ItemInstanceId = result.Inventory[i].ItemInstanceId;
Dictionary<string,string> tempData = new Dictionary<string,string>();
tempData.Add("onHand","false");
tempData.Add("equipped","false");
request.Data = tempData;
PlayFabServerAPI.UpdateUserInventoryItemCustomData(request,wowFunction,OnPlayFabError);