文档

支持

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

结构 FMatchmakingResults

Review the structure containing results from a successful match including teams and allocation details.
阅读时间2 分钟最后更新于 4 天前

Include(包括)
#include <MatchmakerServer/Public/Models/MatchmakingResults.h>
语法
USTRUCT(BlueprintType)struct MATCHMAKERSERVER_API FMatchmakingResults

字段

MatchProperties

表示匹配属性。

声明

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")FMatchProperties MatchProperties

Blueprint

Name

类型

Match Properties(匹配属性)FMatchProperties

C++

Name

类型

MatchProperties
FMatchProperties

GeneratorName

声明

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

Blueprint

Name

类型

Generator Name(生成器名称)字符串

C++

Name

类型

GeneratorName
FString

QueueName

分配了服务器的匹配队列。

声明

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

Blueprint

Name

类型

Queue Name(队列名称)字符串

C++

Name

类型

QueueName
FString

PoolName

分配了服务器的匹配池。

声明

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

Blueprint

Name

类型

Pool Name(池名称)字符串

C++

Name

类型

PoolName
FString

BackfillTicketId

回填工单的唯一 ID。

声明

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

Blueprint

Name

类型

Backfill Ticket Id(回填工单 ID)字符串

C++

Name

类型

BackfillTicketId
FString

MatchId

匹配的唯一 ID。

声明

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

Blueprint

Name

类型

Match Id(匹配 ID)字符串

C++

Name

类型

MatchId
FString

PoolId

匹配所在池的 ID。

声明

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

Blueprint

Name

类型

Pool Id(池 ID)字符串

C++

Name

类型

PoolId
FString

方法

从 JSON 字符串反序列化 MatchmakingResults。

FromJson(FString)

声明

static FMatchmakingResults FromJson(FString JsonString)

参数

Name

类型

描述

JsonString
FString序列化后的 JSON 字符串。

返回

类型

描述

FMatchmakingResults反序列化后的 FMatchmakingResults。