# 结构 FMatchmakerTeam

> Review the structure representing a team of players in a matched game.

##### Include（包括）##include

```cpp
#include <MatchmakerServer/Public/Models/MatchmakerTeam.h>
```

##### 语法##syntax

```cpp
USTRUCT(BlueprintType)
struct FMatchmakerTeam
```

## 字段##fields

### TeamName##teamname

队伍的名称。此队伍名称应与匹配规则中定义的队伍名称一致。

#### 声明##declaration

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

#### Blueprint##blueprint

| **Name**        | **类型**                                                                                             |
| :-------------- | :------------------------------------------------------------------------------------------------- |
| Team Name（队伍名称） | [字符串](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **Name**   | **类型**                                                                                  |
| :--------- | :-------------------------------------------------------------------------------------- |
| `TeamName` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### TeamId##teamid

队伍的 ID。

#### 声明##declaration

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

#### Blueprint##blueprint

| **Name**       | **类型**                                                                                             |
| :------------- | :------------------------------------------------------------------------------------------------- |
| Team Id（团队 ID） | [字符串](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **Name** | **类型**                                                                                  |
| :------- | :-------------------------------------------------------------------------------------- |
| `TeamId` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### PlayerIds##playerids

表示队伍中玩家的玩家 ID 数组。此 ID 必须存在于 Match Properties（匹配属性）的玩家列表中。

#### 声明##declaration

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

#### Blueprint##blueprint

| **Name**          | **类型**                                                                                               |
| :---------------- | :--------------------------------------------------------------------------------------------------- |
| Player Ids（玩家 ID） | [字符串](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes)数组 |

#### C++##c++

| **Name**    | **类型**                                                                                                                                                                                   |
| :---------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `PlayerIds` | [TArray](https://docs.unrealengine.com/5.3/en-US/array-containers-in-unreal-engine/#tarray)`<`[FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/)`>` |
