+ Reply to Thread
Results 1 to 2 of 2

Thread: FindGamesRequest for a specified zone

  1. #1
    Member
    Join Date
    Sep 2011
    Location
    Ankara
    Posts
    91
    Thanks
    31
    Thanked 3 Times in 2 Posts

    FindGamesRequest for a specified zone

    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.

  2. #2
    Administrator tcarr's Avatar
    Join Date
    Dec 2007
    Posts
    7,209
    Thanks
    80
    Thanked 1,086 Times in 1,075 Posts
    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.

  3. The Following User Says Thank You to tcarr For This Useful Post:

    Caglar (08-17-2012)

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts