I'm struggling to find the correct api call inside of the playfab plugin to acces entity objects in unreal. The docs show how to set and get them in unity but nothing for unreal. I've created a cloudscript that gets the objects from the entity I give it but I have no idea how to break down that data that is returned so I can use it in unreal.
handlers.GetCharacterQuestData = function (args, context) { var entityVar = {Id: "9A9B4", Type: "title"}; var Request = { Entity: entityVar }; var OutData = entity.GetObjects(Request) log.info(OutData); return OutData; };
{ "FunctionResult": { "ProfileVersion": 1, "Objects": { "Quests": { "ObjectName": "Quests", "DataObject": { "Kill50Enemy_Quest": "1", "FindExcalibur_Quest": "1" } } }, "Entity": { "Id": "9A9B4", "Type": "title", "TypeString": "title" } }, "Logs": [ { "Level": "Info", "Message": "{\"ProfileVersion\":1,\"Objects\":{\"Quests\":{\"ObjectName\":\"Quests\",\"DataObject\":{\"Kill50Enemy_Quest\":\"1\",\"FindExcalibur_Quest\":\"1\"}}},\"Entity\":{\"Id\":\"9A9B4\",\"Type\":\"title\",\"TypeString\":\"title\"}}", "Data": null } ], "ExecutionTimeSeconds": 0.1093948, "MemoryConsumedBytes": 7344, "APIRequestsIssued": 1, "HttpRequestsIssued": 0, "Error": null }