Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Close the room from plugin

$
0
0
Is there any way to do it? The problem is that I have a room with PlayerTTL > 0 and EmptyRoomTTL> 0 in order to make possible the disconnected players to reconnect the room. Everything works fine. But after the game is over and all players have left the room the room is still alive until EmptyRoomTTL expires. And nevertheless IsOpen and IsVisible properties of the room are both equal to false, inactive players are still able to rejoin this room. So, if one of those players initializes random matchmaking it is possible that he will join that room. And I'd like to prevent this possibility and close this room or make it inaccessible to random matchmaking. P.S. I'm sorry for my English! )

Viewing all articles
Browse latest Browse all 1557

Latest Images

Trending Articles



Latest Images