RoomsCount and RoomInfoList
Options
Osteel
✭
Hi,
I'm currently working on updating an existing product that has Photon already in and working. However, part of this update is to include a lobby menu to see existing games. I can't seem to get RoomInfoList as it is always empty.
I create a room:
When running a test, I have a device currently sitting it a room it created. Checking prints, I get the following:
How do I properly get the list?
Thanks!
I'm currently working on updating an existing product that has Photon already in and working. However, part of this update is to include a lobby menu to see existing games. I can't seem to get RoomInfoList as it is always empty.
I create a room:
public void CreateTurnbasedRoom(string roomName, int maxPlayers) { Debug.Log("Create new room with id " + roomName); RoomOptions roomOptions = new RoomOptions(); roomOptions.MaxPlayers = (byte)maxPlayers; roomOptions.PublishUserId = true; roomOptions.IsVisible = true; this.OpJoinOrCreateRoom(roomName, roomOptions, TypedLobby.Default); }
When running a test, I have a device currently sitting it a room it created. Checking prints, I get the following:
RoomsCount = 1
RoomInfoList = 0
RoomInfoList = 0
How do I properly get the list?
Thanks!
0
Comments
-
Thanks!
Yeah, we definitely checked for that. However, turns out the version of the SDK we were using didn't include the OpGetGameList call. We updated and everything seems to be in order.0