Check if a room still exists

Options
Tadeu
Tadeu
Hi guys,

I am trying to check if a room still exists after a disconnect. After all players joined the room I set the PhotonNetwork.room.visible to false, so it is no listed on PhotonNetwork.GetRoomList in OnReceivedRoomListUpdate method...

I think I can use roomOptions.customRoomProperties to make it invisible in my room list UI, but is there a simpler way to do it?

Best Regards

Comments

  • vadim
    Options
    Hi,
    If you want to see room in lobby, it should be visible.
    You may set 'open' room property to false instead of 'visible' to make sure that no one can join the room. Then filter rooms by 'open' property in UI.
  • Tadeu
    Options
    Nice idea, thank for the replay.