basically i am working on a multiplayer game i wanted to invite players who are available online right now any idea about getting information?
basically i am working on a multiplayer game i wanted to invite players who are available online right now any idea about getting information?
Sorry, I don't understand your needs. Do you want to get player data and the data of all online players? Could you please clarify the issue a little bit more clearly?
i want to get the player username of all online players and once they are listed i can send invite to them to join my room and play
Since playfab is a stateless service and don’t have a mechanism to check if the player is online, as long as the sessionticket is valid, the client can call the client API. So it is hard to check whether the players are online or offline. You need to create a system to check if the player is online.
can you share any articles or tutorials on how to create that system?
@Ivan Can your related thread is 4 years old and mentions a "presence" function:
We will be providing a "presence" style system in a future update, though we don't have a specific date for that just yet.
Do you have any updates on this?
PlayFab core service is based on RESTful API, which is stateless. You need a real-time and long-connection system to monitor the state of friends. This feature is served by Party at present. Please refer to Azure PlayFab Party overview - PlayFab | Microsoft Docs.
3 People are following this question.