Matchmaking: Search Multiple Lobby Types
Hello brainCloud, do you think it would be possible to instead of pass in a string for the "lobbyType" parameter of the Matchmaking functions, we could pass in a string for lobbyTypes we would like to search for? This is desirable as my game may have many game modes and the players may be very spread out among them, causing none of the matches to be full and never start. I would like to have a quick match option that will return the first lobby found of many lobbyTypes.
As of now, I will have to loop through each lobbyType and run FindLobby() for each of them. This may take a lot of time, and I assume it would be a lot faster for all of that to be done on brainCloud's end and just returned to the player at once.
We'll look into it. There are structural complications - in that we keep a separate queue of players waiting to join each type of lobby... so you're looking at in this case changing it to a global (or filterable) queue of waiting players... we'll have to think on that.
I'm assuming that the team and min:max counts for the various lobby types differ? Cause if they don't, you could have a single lobby type - which lobby info that determines the type of game.
Would that be an option for you?
Thanks Paul, I don't think I could do the different lobby info option as I would like the players to choose specifically which game mode and if I understand correctly, I can only do that by having the players search for a lobby of that game mode. It's not too much of an urgent issue, I just wanted to put it out there and see how realistic it was. I talked to Greg a bit and we discussed joining multiple lobby types at once. For now, I plan to search for multiple lobbies at once and cancel matchmaking for any possible 2nd joined lobbies.