Documentation

Support

Matchmaker

Matchmaker

Struct FMatchmakerTeam

Review the structure representing a team of players in a matched game.
Read time 1 minuteLast updated 2 days ago

Include
#include <MatchmakerServer/Public/Models/MatchmakerTeam.h>
Syntax
USTRUCT(BlueprintType)struct FMatchmakerTeam

Fields

TeamName

The name of the team. The team name should be the same as the team name defined in the rules of matchmaking.

Declaration

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")FString TeamName

Blueprint

Name

Type

Team NameString

C++

Name

Type

TeamName
FString

TeamId

The Id of the team.

Declaration

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")FString TeamId

Blueprint

Name

Type

Team IdString

C++

Name

Type

TeamId
FString

PlayerIds

An array of player IDs that represent the players in a team. This ID must exist in the list of players of the Match Properties.

Declaration

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")TArray<FString> PlayerIds

Blueprint

Name

Type

Player IdsArray of String

C++

Name

Type

PlayerIds
TArray
<
FString
>