# 结构 AuthenticationStateChangedResponse

> Reference the data structure for authentication state changes.

表示身份验证状态更改的结构。

##### Include（包括）##include

```cpp
#include "Models/AuthenticationStateChangedResponse.h"
```

##### 语法##syntax

```cpp
USTRUCT(BlueprintType)
struct AUTHENTICATION_API FAuthenticationStateChangedResponse
```

## 字段##fields

### OldState##oldstate

先前状态。

#### 声明##declaration

```cpp
EAuthenticationStates OldState = EAuthenticationStates::SignedOut;
```

#### 蓝图##blueprint

| **Name**       | **类型**                                            | **默认值**                            | **蓝图属性类型**        | **蓝图属性类别**                        |                |    |
| :------------- | :------------------------------------------------ | :--------------------------------- | :---------------- | :-------------------------------- | -------------- | -- |
| Old State（旧状态） | [EAuthenticationStates](../authentication-states) | `EAuthenticationStates::SignedOut` | BlueprintReadOnly | Unity Gaming Services（Unity 游戏服务） | Authentication | 模型 |

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

| **Name**   | **类型**                                            | **默认值**                            |
| :--------- | :------------------------------------------------ | :--------------------------------- |
| `OldState` | [EAuthenticationStates](../authentication-states) | `EAuthenticationStates::SignedOut` |

### NewState##newstate

新状态。

#### 声明##declaration

```cpp
EAuthenticationStates NewState = EAuthenticationStates::SignedOut;
```

#### 蓝图##blueprint

| **Name**       | **类型**                                            | **默认值**                            | **蓝图属性类型**        | **蓝图属性类别**                        |                |    |
| :------------- | :------------------------------------------------ | :--------------------------------- | :---------------- | :-------------------------------- | -------------- | -- |
| New State（新状态） | [EAuthenticationStates](../authentication-states) | `EAuthenticationStates::SignedOut` | BlueprintReadOnly | Unity Gaming Services（Unity 游戏服务） | Authentication | 模型 |

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

| **Name**   | **类型**                                            | **默认值**                            |
| :--------- | :------------------------------------------------ | :--------------------------------- |
| `NewState` | [EAuthenticationStates](../authentication-states) | `EAuthenticationStates::SignedOut` |
