Documentation

Support

Matchmaker

Matchmaker

Struct FCreateTicketResponse

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

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.