I am trying to display the Expected Users list (PhotonNetwork.room.expectedUsers) in the UI of players already inside the room. The idea is that if a group of players want to join a room, the UI can show who has joined the room and who hasn't yet.
As far as I can tell, there is no callback defined for when the Expected Users list changes while connected to a room. The callback OnReceivedRoomListUpdate() is only called while in a lobby, I believe.
If this is true, should I use SetRoomCustomProperties to write the userIds to the room before joining it? This seems worse than relying on Photon to handle it, since I do not know if JoinRoom() will succeed.
As far as I can tell, there is no callback defined for when the Expected Users list changes while connected to a room. The callback OnReceivedRoomListUpdate() is only called while in a lobby, I believe.
If this is true, should I use SetRoomCustomProperties to write the userIds to the room before joining it? This seems worse than relying on Photon to handle it, since I do not know if JoinRoom() will succeed.