game-common / pragma.matchmaking / GameInstanceUpdate / setTeamByPlayers /

setTeamByPlayers #

fun setTeamByPlayers(players: List<Matchmaking.Player>, teamNumber: Int)

Set the team number on some players.

Only works on players that have already been added via GameInstanceUpdate.addParties.

Parameters #

players

The players to set the team number on.

teamNumber

The team number to set on the players.