文档

支持

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

结构 FMatchmakerPlayer

Review the structure representing a player in a matchmaking ticket.
阅读时间1 分钟最后更新于 4 天前

表示身份验证玩家配置文件更改的结构。
Include(包括)
#include <MatchmakerCore/Public/Models/AuthenticationPlayerProfileChangedResponse.h>
语法
USTRUCT(BlueprintType)struct FMatchmakerPlayer

覆盖

operator==(const FMatchmakerPlayer&)

声明

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

参数

Name

类型

Other
const 
FMatchmakerPlayer
&

返回

类型

描述

bool
如果两个 MatchmakerPlayer 相等,为
true
,否则为
false

字段

Id

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

声明

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

Blueprint

Name

类型

Id字符串

C++

Name

类型

Id
FString

QoSResults

QosResults 列表。

声明

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

Blueprint

Name

类型

QoS Results(QoS 结果)QosResult 数组

C++

Name

类型

QoSResults
TArray
<
QosResult
>

CustomData

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

声明

TOptional<TSharedPtr<FJsonObject>> CustomData

C++

Name

类型

CustomData
TOptional
<
TSharedPtr
<
FJsonObject
>>