Is there something I can query to get a rough count on how many players are currently logged in? It doesn't have to be exact,
Is there something I can query to get a rough count on how many players are currently logged in? It doesn't have to be exact,
For now you could use Photon Chat for this. Just make sure to register all users to the same chat room when they login. Then you can count the number of player in the room. However keep in mind that it could be double edged sword. If you have low player base it could deter new players from playing your game if they see too few player playing with them.
Falcon Land, thanks. That's actually exactly the solution I ended up with. :)
Not currently. The existing sign-in provides a session ticket, which has a long expiration time (currently 24 hours), and there is no "sign out" call - you just re-use the ticket until it expires. We will be updating with a true session-based system which will allow for invalidation of the current client ticket, at which point we'll also be adding more functionality around signed-in players (such as current sign-in state).
2 People are following this question.