#Verify if a connection was established through Matchmaker

1 messages · Page 1 of 1 (latest)

velvet raft
#

Hi, so I'm trying to check server side wether a connection attempt is coming from a client that used the matchmaker to find a game.
Client side it seems like I could send the Server ((MultiplayAssignment)TicketStatusResponse).MatchIdbut I can't find a MatchId in the Servers BackfillTicket.
What could I use to differentiate between a Client joining through Matchmaker and a Client directly connecting to the Server?

#

For context I have a reconnect feature that allows directly reconnecting to the Server, without going through the Matchmaker again

celest timber
#

I'm not sure you can. From the server perspective, a connection is a connection. You could maybe track connections manually in a Player Id dictionary. Then check new connections for an existing player ID