How to make multiple rooms
Options
Is it possible to make multiple rooms at the same time on 1 PC , and client will connect to room specified ? my problem is i want to make a dedicated app which allows different users to connect there rooms, we dont want to give authority to users to make room and they just need to join the room specified, like 2 players in 1 room, i am using photon self hosted server.
0
Comments
-
0
-
@chvetsov thanos for reply..i didnot get your point. update which code ? is there any example you have ?0
-
No, we do not have an example
Our rooms live while there are references to them. if there are no references then they are removed. So, you have to create a container which will keep references to created rooms. You may find sample of room creation in HivePeer class or GameClientPeer class where we handle game creation request
best,
ilya0