Hi Teresa;
When we requested QuickJoinGameRequest we can specify the zone name. Is there a way to specify a zone name when requesting FindGamesRequest to the server or I always must filter the results in the FindGamesResponse event.
Best regards
Hi Teresa;
When we requested QuickJoinGameRequest we can specify the zone name. Is there a way to specify a zone name when requesting FindGamesRequest to the server or I always must filter the results in the FindGamesResponse event.
Best regards
Last edited by Caglar; 08-17-2012 at 01:03 PM.
If you are going to want to filter by zone name frequently, then I suggest that you just add the zone name to the initial game details object when the game is created. It would be added in two places on the QuickJoinGameRequest; both the main part of the request and in the optional SearchCriteria.
Another option if you are always going to search by zone name and never any other way is to register a separate gameType for each of your zones, and then just do a QuickJoinGameRequest specifying the gameType for that zone. This uses a small amount of extra memory at a large savings in performance.
Teresa Carrigan
Senior Engineer
Electrotank, Inc.
Caglar (08-17-2012)