Documentation

Support

Matchmaker for the Unreal Engine

Matchmaker overview

Matchmaker for the Unreal Engine

Struct FCreateTicketResponse

Review the response structure returned when creating a matchmaking ticket.
Read time 1 minuteLast updated 2 months ago

Important
Unity Matchmaker will support Multiplay Hosting until the deprecation date of March 31st, 2026. To aid your migration away from Multiplay Hosting, migration examples for alternative hosting providers are available. Matchmaker will continue to work with Relay and Distributed Authority after the Multiplay Hosting deprecation.
Include
#include <MatchmakerClient/Public/Models/CreateTicketResponse.h>
Syntax
USTRUCT(BlueprintType)struct FCreateTicketResponse

Fields

WasSuccessful

Indicates if the request was completed successfully.

Declaration

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

Blueprint

Name

Type

Default value

Was SuccessfulBooleanfalse

C++

Name

Type

Default value

bWasSuccessful
bool
false

TicketId

The ID for the matchmaking ticket that was created.

Declaration

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")FGuid TicketId

Blueprint

Name

Type

Ticket IdFGuid Struct

C++

Name

Type

TicketId
FGuid

ErrorMessage

An error message detailing the error.

Declaration

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

Blueprint

| Name | Type | |:---|:---|:---|:---| | Error Message | String |

C++

Name

Type

ErrorMessage
FString

ErrorCode

Error Code (MatchmakerExceptionReason) as int32 for Blueprint compatibility.

Declaration

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

Blueprint

| Name | Type | Default value | |:---|:---|:---|:---|:--- | Error Code | Integer |
0
|

C++

Name

Type

Default value

ErrorCode
int32
0

Methods

GetReasonEnum()

Declaration

EMatchmakerExceptionReason GetReasonEnum() const

Returns

Type

Description

EMatchmakerExceptionReasonThe exception reason as a EMatchmakerExceptionReason.