question

Michael Urvan avatar image
Michael Urvan asked

Getting the list of PlayFabIds that will connect to your server?

Which SDK and what API call do I use to get the incoming list of PlayFabIds of the players who are allowed to connect to the game server

Currently under Unity, I added the GSDK.

Custom Game Servers
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

·
Sarah Zhang avatar image
Sarah Zhang answered

If you use PlayFab MatchMaking service, as this section -- information passed to the game server said, the matched players would be automatically added to the InitialPlayers list, you can read this list using GetInitialPlayers() method. If you use other methods to gather players, you need to modify the InitialPlayers on your own. You can modify it when you call the API RequestMultiplayerServer.

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.