question

brendan avatar image
brendan asked

Client Matchmaking API question: how to quit game/lobby?

learner
started a topic on Wed, 21 January 2015 at 4:14 AM

Hello,

using the Client API method StartGame, a user can start and join a game. But which API call should be used to leave the game?

Thanks,

HT

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Best Answer
Brendan Vanous said on Fri, 23 January 2015 at 12:55 AM

The StartGame API call tells the service to create a new instance of a Game Server, so it should really only be used when a call to Matchmake results in no available slots in the existing Game Server Instances. When a player leaves a server, that server should make a call to NotifyMatchmakerPlayerLeft, to let our matchmaking service know that a slot has become available in that particular Game Server Instance.

Brendan


1 Comment
Brendan Vanous said on Fri, 23 January 2015 at 12:55 AM

The StartGame API call tells the service to create a new instance of a Game Server, so it should really only be used when a call to Matchmake results in no available slots in the existing Game Server Instances. When a player leaves a server, that server should make a call to NotifyMatchmakerPlayerLeft, to let our matchmaking service know that a slot has become available in that particular Game Server Instance.

Brendan

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.