Get number of player's in all rooms
Options
i am new to use photon. i developed a small game project using objective c for ios using the sample demo application. In my application i created 3 rooms with 3 gameid each for one to join the room. i need to know how many players are there in each room before they join a room.
0
Comments
-
Currently a bit tricky. You would use the Lite Lobby application on the server side. This has special lobby(rooms), which list games and the player count inside.
However, we did not yet port and cleanup the samples which show how to get into a lobby and how to interpret the events that are sent in a lobby.
You could check out the equivalent from the Litelobby Demo in the DotNet client SDK. Maybe Ludi can share some code in objC, too.
Links for Lite Lobby:
http://developer.exitgames.com/liteandl ... byconcepts
http://developer.exitgames.com/liteandl ... bychatdemo0 -
Thanks for your reply.0