In cloudscript, I'd like to get the item instance with a certain instanceId from the player's inventory, to read some custom data from it.
My question is, what's the best practice here?
I guess that I could use server.GetUserInventory(), and then iterate over the items, look for a matching InstanceId, and then read the stuff I need.
But is there something like a server.GetUserInventoryItemCustomData() or a server.GetUserInventoryItem() that I'm just missing?
Best, Bankler