question

Brent Batas (Lisk) avatar image
Brent Batas (Lisk) asked

How do I get a MatchId on a game server that was created via matchmaking?

How do I get a MatchId on a game server that was created via matchmaking?

Context: I want to call GetMatch() on the game server to get information about matchmaking, so it knows how to assign in-game player/team slots to connected players.

Custom Game ServersMatchmaking
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

·
Citrus Yan avatar image
Citrus Yan answered

Hi Brent, I believe that the MatchId will be passed to the game server automatically once you integrate Matchmaking with Multiplayer servers. You can check this doc Information passed to the game server here. You can see that the SessionId for the server will be equal to the MatchId for the match.

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.