question

Bijian Wu avatar image
Bijian Wu asked

How to let client know who they are playing against?

We are using PlayFab Matchmaking and PlayFab multiplayer, and Server allocation was enabled in the queue.

When using GetMatch on client side, is there any way that client can know opponent's names? may be when each member first created the ticket, passing their PlayFab display name as custom data? then get the custom data afterwards?

or is there other ways that GetMatch Provides?

Matchmakingmultiplayer
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

·
Rick Chen avatar image
Rick Chen answered

As the API GetMatch does not return the display name directly, yes, as you mentioned, passing their display name as custom data when creating the ticket, that is a solution.

If you would like to have this GetMatch API returning the display name, you could post a thread in Feature Request forum.

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.