文档

支持

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

结构 FGetTicketStatusResponse

Review the response structure containing the status and details of a matchmaking ticket.
阅读时间3 分钟最后更新于 4 天前

Include(包括)
#include <MatchmakerClient/Public/Models/GetTicketStatusResponse.h>
语法
USTRUCT(BlueprintType)struct FGetTicketStatusResponse

字段

WasSuccessful

指示请求是否已成功完成。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")bool bWasSuccessful = false

Blueprint

Name

类型

默认值

Was Successful(已成功)布尔值false

C++

Name

类型

默认值

bWasSuccessful
bool
false

AssignmentType

已创建的匹配工单的 ID。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")FString AssignmentType

Blueprint

Name

类型

Assignment Type(分配类型)字符串

C++

Name

类型

AssignmentType
FString

消息

可选消息

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")FString Message

Blueprint

Name

类型

消息字符串

C++

Name

类型

Message
FString

状态

分配的状态可以是 Timeout(超时)Failed(失败)、**InProgress(进行中)**或 Found(找到)

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")StatusEnum Status = StatusEnum::InProgress

Blueprint

Name

类型

默认值

状态StatusEnum
StatusEnum::InProgress

C++

Name

类型

默认值

Status
StatusEnum
StatusEnum::InProgress

Ip

分配给此工单的服务器的 IP。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")FString Ip

Blueprint

Name

类型

Ip字符串

C++

Name

类型

Ip
FString

Port

分配给此工单结果的端口。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")int32 Port = 0

Blueprint

Name

类型

默认值

Port整数
0

C++

Name

类型

默认值

Port
int32
0

MatchId

匹配的唯一 ID。

声明

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

Blueprint

Name

类型

Match Id(匹配 ID)字符串

C++

Name

类型

MatchId
FString

ErrorMessage

包含错误详细信息的错误消息。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")FString ErrorMessage

Blueprint

Name

类型

错误消息字符串

C++

Name

类型

ErrorMessage
FString

ErrorCode

以 int32 表示的错误代码 (MatchmakerExceptionReason),旨在实现 Blueprint 兼容性。

声明

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")int32 ErrorCode = Matchmaker::kMatchmakerExceptionOffset

Blueprint

Name

类型

默认值

错误代码整数
0

C++

Name

类型

默认值

ErrorCode
int32
0

方法

GetReasonEnum()

声明

EMatchmakerExceptionReason GetReasonEnum() const

返回

类型

描述

EMatchmakerExceptionReason表示为 EMatchmakerExceptionReason 的异常原因。