文档

​
​

Development

User Acquisition

Monetization

工业

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

Multiplayer services for Unreal
​
​
Matchmaker for the Unreal Engine
  • Overview
  • Get started
  • Integrate using Blueprints
  • Integrate using C++
API reference
  • Overview of C++ APIs
  • Client APIs
  • Server APIs
    • Server Blueprint
    • Server Subsystem
    • Models
      • Approve Backfill Ticket Response
      • Backfill Ticket Properties
      • Create Backfill Ticket Options
      • Create Backfill Ticket Response
      • Delete Backfill Ticket Response
      • Match Properties
      • Matchmaker Team
      • Matchmaking Results
      • Update Backfill Ticket Response
    • Server Blueprint Utils
  • Matchmaker Core APIs
  • Services Core Utilities
  1. 适用于 Unreal Engine 的 Matchmaker SDK

结构 FMatchmakingResults

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

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。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Include(包括)

    • 语法

    • 字段

      • MatchProperties

        • 声明

        • Blueprint

        • C++

      • GeneratorName

        • 声明

        • Blueprint

        • C++

      • QueueName

        • 声明

        • Blueprint

        • C++

      • PoolName

        • 声明

        • Blueprint

        • C++

      • BackfillTicketId

        • 声明

        • Blueprint

        • C++

      • MatchId

        • 声明

        • Blueprint

        • C++

      • PoolId

        • 声明

        • Blueprint

        • C++

    • 方法

      • FromJson(FString)

        • 声明

        • 参数

        • 返回


报告此页面的问题