function that will return true or something, if the region is fully checked for rooms?

Sorry if my english is too bad.

Is there a function that will retrive some information if a region has rooms inside? because when photon is connect to a region the rooms coming little bit later , i made a main menu that connect to all regions one by one and geting the rooms inside but some times when my network is lagy the script connect to next region and he miss the rooms inside, how i can know if the region has finish retrieving the data of the rooms or is there any rooms for retrieving?

Comments

  • Hi @Angel,

    there is a callback processed when the room list on the local client is updated. It is OnReceivedRoomListUpdate(). When your client is inside a lobby, this callback will be called whenever the client receives a room list update from the server.
  • hello Christian_Simon, that's what I needed! thank you :smile: )