Is there a way to obtain a number of user in specific room. I'm making a game, where each user controls his own character. So user 1 will control character 1, user 2 will control character 2,... Basically, I would like each of the users to have a number from 1-5 assigned to them (but each of the numbers can be used only once). Thanks for help!
P.S.: Now I call listRooms to know how many users specific room has. When user joins a room, I give him a number of users that are already in this room+1. But there must be a better solution.