# 结构 FMatchmakerPlayer

> Review the structure representing a player in a matchmaking ticket.

表示身份验证玩家配置文件更改的结构。

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

```cpp
#include <MatchmakerCore/Public/Models/AuthenticationPlayerProfileChangedResponse.h>
```

##### 语法##syntax

```cpp
USTRUCT(BlueprintType)
struct FMatchmakerPlayer
```

## 覆盖##overrides

### operator==(const FMatchmakerPlayer&)##operator==(const-fmatchmakerplayer&)

#### 声明##declaration

```cpp
inline bool operator==(const FMatchmakerPlayer& Other) const
```

#### 参数##parameters

| **Name** | **类型**                                                 |
| :------- | :----------------------------------------------------- |
| `Other`  | `const `[FMatchmakerPlayer](./matchmaker-player.md)`&` |

#### 返回##returns

| **类型** | **描述**                                        |
| :----- | :-------------------------------------------- |
| `bool` | 如果两个 MatchmakerPlayer 相等，为 `true`，否则为 `false` |

## 字段##fields

### Id##id

玩家的唯一 ID。通常是对玩家进行身份验证后收到的 ID。

#### 声明##declaration

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

#### Blueprint##blueprint

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

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

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

### QoSResults##qosresults

QosResults 列表。

#### 声明##declaration

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

#### Blueprint##blueprint

| **Name**            | **类型**                          |
| :------------------ | :------------------------------ |
| QoS Results（QoS 结果） | [QosResult](./qos-result.md) 数组 |

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

| **Name**     | **类型**                                                                                                                        |
| :----------- | :---------------------------------------------------------------------------------------------------------------------------- |
| `QoSResults` | [TArray](https://docs.unrealengine.com/5.3/en-US/array-containers-in-unreal-engine/#tarray)`<`[QosResult](./qos-result.md)`>` |

### CustomData##customdata

自定义数据对象。包含匹配定义中定义的规则要使用的自定义数据字典。

#### 声明##declaration

```cpp
TOptional<TSharedPtr<FJsonObject>> CustomData
```

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

| **Name**     | **类型**                                                                                                                                                                                                                                                                              |
| :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `CustomData` | [TOptional](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Misc/TOptional/)`<`[TSharedPtr](https://docs.unrealengine.com/5.0/en-US/API/Runtime/Core/Templates/TSharedPtr/)`<`[FJsonObject](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Json/Dom/FJsonObject/)`>>` |
