question

nigolu7 avatar image
nigolu7 asked

Tell me more about how to get a display name with a player title ID in Matchmaking

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.

nigolu7 avatar image nigolu7 commented ·

with unity C#

0 Likes 0 ·

1 Answer

·
Made Wang avatar image
Made Wang answered

Provide the following 3 methods:

1. Write the display name to the entity object in advance, and get it via GetObjects when needed, refer to Use entity objects to store player data - PlayFab | Microsoft Docs.

2. Add the display name as an attribute to the Matchmaking Ticket, then set ReturnMemberAttributes to true when GetMatch to get it, refer to Get Display name from Title player ID (Not Playfab ID) - Playfab Community.

3. Call GetProfile, get LIneage.MasterPlayerAccountId in the returned result, and then call GetAccountInfo or GetPlayerProfile.

10 |1200

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

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.