Hi, I want to implement send lives system using trading. I read old threads about this but still asking here for clarity. I created trade request as following. friendsIDs is array of friend playfabIDs that i am asking for life.
OpenTradeRequest request = new OpenTradeRequest(); request.AllowedPlayerIds = friendsIDs; request.RequestedCatalogItemIds = new List<string>() { "Life" }; PlayFabClientAPI.OpenTrade(request, OnSuccess, OnError); void OnSuccess(OpenTradeResponse response) { Debug.Log("PF : Life request sent"); } void OnError(PlayFabError error) { Debug.Log(error.GenerateErrorReport()); }
Now what ? How to notify other friends about trade. Is there a way to list incoming trades ?