Hi all,
I've been reading through documentation and have some code setup that tries to join a random room, if if cannot find one it creates a new room and the first player is then able to submit their turn.
What I am struggling with is a way to retrieve a list of Rooms / Games that the current player is a participant of. I've created the room with the following options, which I believe means it should stay active for up to 7 days?
I'm also using OnRoomListUpdate(), but I never seem to hit this method.
Any advice much appreciated.
Regards
Gavin
I've been reading through documentation and have some code setup that tries to join a random room, if if cannot find one it creates a new room and the first player is then able to submit their turn.
What I am struggling with is a way to retrieve a list of Rooms / Games that the current player is a participant of. I've created the room with the following options, which I believe means it should stay active for up to 7 days?
RoomOptions _opt = new RoomOptions(); _opt.MaxPlayers = 2; _opt.PlayerTtl = 7 * 24 * 60 * 60 * 1000; _opt.EmptyRoomTtl = 300000;
I'm also using OnRoomListUpdate(), but I never seem to hit this method.
Any advice much appreciated.
Regards
Gavin