Struct FCreateTicketResponse
Important: Unity Matchmaker currently supports Multiplay hosting, or a client-hosted solution provided by Unity, such as Relay and Distributed Authority. The team is working on extending support to third party hosting providers (including Multiplay by Rocket Science and others), and is aiming to deliver this support in advance of March 31st, 2026. Matchmaker will continue to work with Relay and Distributed Authority.
Include
#include <MatchmakerClient/Public/Models/CreateTicketResponse.h>Syntax
USTRUCT(BlueprintType)
struct FCreateTicketResponseFields
WasSuccessful
Indicates if the request was completed successfully.
Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
bool bWasSuccessful = falseBlueprint
| Name | Type | Default value |
|---|---|---|
| Was Successful | Boolean | false |
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 TicketIdBlueprint
| Name | Type |
|---|---|
| Ticket Id | FGuid Struct |
C++
| Name | Type |
|---|---|
TicketId | FGuid |
ErrorMessage
An error message detailing the error.
Declaration
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString ErrorMessageBlueprint
| 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::kMatchmakerExceptionOffsetBlueprint
| Name | Type | Default value |
|:---|:---|:---|:---|:---
| Error Code | Integer | 0 |
C++
| Name | Type | Default value |
|---|---|---|
ErrorCode | int32 | 0 |
Methods
GetReasonEnum()
Declaration
EMatchmakerExceptionReason GetReasonEnum() constReturns
| Type | Description |
|---|---|
| EMatchmakerExceptionReason | The exception reason as a EMatchmakerExceptionReason. |