Hi everyone
I'm currently working on the integration of PlayFab in UE4 c++
I have some trouble to GetUserData
so far, I can Login, get PlayerProfile, update player profile (very simple and example are enought)
All my logic is done in the game instance, to keep data persistant over the game session some few update call will be done to get new data pushjed by servers on playfab
here is my request to GetUserData :
PlayFab::ClientModels::FGetUserDataRequest request; playFabclient->GetUserData(request, PlayFab::UPlayFabClientAPI::FGetUserDataDelegate::CreateUObject(this, &UBTD_GameInstance::OnSuccess_GetPlayerData), PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &UBTD_GameInstance::OnError) );
since I want all User Data I just use an empty request (current loged in PlayerId will be used)
and in my success callback i'm tring to "parse" data like this :
playerProfile.Level = FCString::Atoi(Result.Data["Level"].Value());
Exemple for Player level but this won't compile
error C2064: term does not evaluate to a function taking 0 arguments
There something I didn't get, but there is no such documentation for UE4 c++