文档

支持

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

结构 FMatchProperties

Review the structure containing information about teams and players in a matched game.
阅读时间1 分钟最后更新于 4 天前

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

字段

Teams

匹配中的队伍列表。

声明

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

Blueprint

Name

类型

Teams(队伍)FMatchmakerTeam 数组

C++

Name

类型

Teams
TArray
<
FMatchmakerTeam
>

Players(玩家)

匹配中的玩家列表。

声明

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

Blueprint

Name

类型

Players(玩家)FMatchmakerPlayer 数组

C++

Name

类型

Players
TArray
<
FMatchmakerPlayer
>

Region

分配服务器的地区。

声明

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

Blueprint

Name

类型

RegionFString

C++

Name

类型

Region
FString

BackfillTicketId

这是回填工单 ID,应使用服务器分配 ID 来确保回填工单的唯一性。

声明

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

Blueprint

Name

类型

Backfill Ticket Id(回填工单 ID)FString

C++

Name

类型

BackfillTicketId
FString

结构 FMatchProperties • Matchmaker for the Unreal Engine • Unity Docs