question

sebastien-1 avatar image
sebastien-1 asked

Unreal Engine - Get friends list request. How can I create the profile Constraints?

Hello,

I am using Unreal engine, and I am making a "Get friends list" request. I can get the "TitleDisplayName" of the friends but not the "AvatarUrl". I have activated the option in the game manager so that it can be set in the "Profile constraints".

My quest is how do I create the "Request Profile Constraints" in Unreal?

Here is a screenshot of the nodes I tried to use:

unrealFriends
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Here is sample showing how to create the “Profile Constraints” node that get passed to the GetFriendListRequest node in Unreal:

  1. First, add a “PlayFab Json Object” variable in BP:

2.Then do the following when calling GetFriendList:


1.png (22.4 KiB)
2.png (104.1 KiB)
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sebastien-1 avatar image sebastien-1 commented ·

Hi Citrus Yan, thank you for your reply, of course a boolean field makes sense! Thank you.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.