question

rob avatar image
rob asked

Filtering on GameMode

When I do a call to GetCurrentGames it's possible to put in a single game mode to return only games of that type. But is it possible to do more advanced game mode filtering? I'm looking for something similar to how tags work so that you can exclude certain game modes or filter on several game modes.

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

·
brendan avatar image
brendan answered

Yes, the GetCurrentGames call filters the results down to matches for all the parameters you pass in (https://api.playfab.com/documentation/client/method/GetCurrentGames). So you can absolutely set tags on server instances and filter for just that in the call to GetCurrentGames.

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.