I'm calling to get my UserInventory but it seems to be missing the VirtualCurrency and VirtualCurrencyRechargeTimes properties.
All seems pretty straight forward, just not getting the results. What am I missing?
API call:
public void GetUserData() { PlayFabClientAPI.GetUserInventory(new GetUserInventoryRequest(), PlayerInventorySuccess, PlayerInventoryFailure); }
Call results:
private void PlayerInventorySuccess(GetUserInventoryResult obj) { string result = JsonUtility.ToJson(obj, true); Debug.Log(result); }
Results:
{ "Inventory": [ { "Annotation": "Granted via Game Manager", "BundleContents": [], "BundleParent": "", "CatalogVersion": "default_catalog", "DisplayName": “Card Name", "ItemClass": "card_common", "ItemId": “super_cardItem", "ItemInstanceId": "E672DEEE28C15735", "UnitCurrency": "", "UnitPrice": 0 } ] }
I tried using the PlayfabJson Serializer, just to see if there was anything being left off when converting the string, but received the same results.