# 構造体 FGetTicketStatusResponse

> Review the response structure containing the status and details of a matchmaking ticket.

##### Include (含める)##include

```cpp
#include <MatchmakerClient/Public/Models/GetTicketStatusResponse.h>
```

##### 構文##syntax

```cpp
USTRUCT(BlueprintType)
struct FGetTicketStatusResponse
```

## フィールド##fields

### WasSuccessful##wassuccessful

リクエストが正常に完了したかどうかを示します。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前**         | **型**                                                                                                  | **初期値** |
| :------------- | :----------------------------------------------------------------------------------------------------- | :------ |
| Was Successful | [Boolean](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | false   |

#### C++##c++

| **名前**           | **型**  | **初期値** |
| :--------------- | :----- | :------ |
| `bWasSuccessful` | `bool` | `false` |

### AssignmentType##assignmenttype

作成されたマッチメイキングチケットの ID です。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前**          | **型**                                                                                                 |
| :-------------- | :---------------------------------------------------------------------------------------------------- |
| Assignment Type | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **名前**           | **型**                                                                                   |
| :--------------- | :-------------------------------------------------------------------------------------- |
| `AssignmentType` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### メッセージ##message

任意のメッセージです

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前** | **型**                                                                                                 |
| :----- | :---------------------------------------------------------------------------------------------------- |
| メッセージ  | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **名前**    | **型**                                                                                   |
| :-------- | :-------------------------------------------------------------------------------------- |
| `Message` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### status##status

割り当ての状態で、**Timeout**、**Failed**、**InProgress**、**Found** の 4 種類があります。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前** | **型**                          | **初期値**                  |
| :----- | :----------------------------- | :----------------------- |
| status | [StatusEnum](./status-enum.md) | `StatusEnum::InProgress` |

#### C++##c++

| **名前**   | **型**                          | **初期値**                  |
| :------- | :----------------------------- | :----------------------- |
| `Status` | [StatusEnum](./status-enum.md) | `StatusEnum::InProgress` |

### Ip##ip

このチケットに割り当てられているサーバーの IP です。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前** | **型**                                                                                                 |
| :----- | :---------------------------------------------------------------------------------------------------- |
| Ip     | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **名前** | **型**                                                                                   |
| :----- | :-------------------------------------------------------------------------------------- |
| `Ip`   | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### Port##port

このチケットの結果に割り当てられているポートです。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前** | **型**                                                                                             | **初期値** |
| :----- | :------------------------------------------------------------------------------------------------ | :------ |
| Port   | [整数](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `0`     |

#### C++##c++

| **名前** | **型**                                                                                                          | **初期値** |
| :----- | :------------------------------------------------------------------------------------------------------------- | :------ |
| `Port` | [int32](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformTypes/int32/) | `0`     |

### MatchId##matchid

マッチの一意の ID です。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前**   | **型**                                                                                                 |
| :------- | :---------------------------------------------------------------------------------------------------- |
| Match Id | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **名前**    | **型**                                                                                   |
| :-------- | :-------------------------------------------------------------------------------------- |
| `MatchId` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### ErrorMessage##errormessage

エラーの詳細を示すエラーメッセージです。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前**   | **型**                                                                                                 |
| :------- | :---------------------------------------------------------------------------------------------------- |
| エラーメッセージ | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++##c++

| **名前**         | **型**                                                                                   |
| :------------- | :-------------------------------------------------------------------------------------- |
| `ErrorMessage` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### ErrorCode##errorcode

エラーコード ([MatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md)) です。ブループリントとの互換性のため、int32 になっています。

#### 宣言##declaration

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

#### ブループリント##blueprint

| **名前** | **型**                                                                                             | **初期値** |
| :----- | :------------------------------------------------------------------------------------------------ | :------ |
| エラーコード | [整数](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `0`     |

#### C++##c++

| **名前**      | **型**                                                                                                          | **初期値** |
| :---------- | :------------------------------------------------------------------------------------------------------------- | :------ |
| `ErrorCode` | [int32](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformTypes/int32/) | `0`     |

## メソッド##methods

### GetReasonEnum()##getreasonenum()

#### 宣言##declaration

```cpp
EMatchmakerExceptionReason GetReasonEnum() const
```

#### 戻り値##returns

| **型**                                                                                                                     | **説明**                                                                                                                                     |
| :------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------- |
| [EMatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md) | 例外の原因で、[EMatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md) として返されます。 |
