game-common / pragma.matchmaking / NewGameInstance / setExtGamePlayer /

setExtGamePlayer #

fun setExtGamePlayer(player: Matchmaking.Player, ext: ExtGamePlayer)

Set the ExtGamePlayer payload for a given player in the new game instance. This data will be set on the GameInstance for the specified player and will override any previously set ExtGamePlayer for this player, therefore we recommend setting this once when the NewGameInstance will be returned from the matchmaking plugin.