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
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
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
No one has followed this question yet.