文档

​
​

Development

User Acquisition

Monetization

工业

Authentication for Unreal Engine

Authentication for Unreal Engine

Multiplayer Services for Unreal
​
​
Authentication for Unreal
  • Overview
  • 开始使用
  • 身份验证生命周期
  • 玩家配置文件
  • 玩家偏好设置
  • 使用 C++ 集成
  • 使用蓝图集成
C++ API Reference
  • Authentication API
    • AuthenticationBlueprintApi
    • AuthenticationErrorCodes
    • AuthenticationStates
    • AuthenticationSubsystem
    • Authentication.Models
      • AuthenticationResponse
      • AuthenticationPlayerProfileChangedResponse
      • AuthenticationPlayerProfileDeletedResponse
      • AuthenticationSignInOptions
      • AuthenticationStateChangedResponse
      • AuthenticationUserResponse
  • Services.Core API
  1. 适用于 Unreal Engine 的 Authentication SDK

结构 AuthenticationPlayerProfileChangedResponse

Reference the data structure for player profile change responses.
阅读时间2 分钟
最后更新于 8 个月前

表示身份验证玩家配置文件更改的结构。
Include(包括)
#include "Models/AuthenticationPlayerProfileChangedResponse.h"
语法
USTRUCT(BlueprintType)struct AUTHENTICATION_API FAuthenticationPlayerProfileChangedResponse

字段

WasSuccessful

更改是否成功。

声明

bool bWasSuccessful = false

蓝图

Name

类型

默认值

蓝图属性类型

蓝图属性类别

Was Successful(已成功)布尔值
false
BlueprintReadOnlyUnity Gaming Services(Unity 游戏服务)Authentication

C++

Name

类型

默认值

bWasSuccessful
bool
false

OldProfileName

先前的配置文件名称。

声明

FString OldProfileName

蓝图

Name

类型

蓝图属性类型

蓝图属性类别

Old Profile Name(旧配置文件名称)字符串BlueprintReadOnlyUnity Gaming Services(Unity 游戏服务)Authentication模型

C++

Name

类型

OldProfileName
FString

NewProfileName

新的(或尝试的)配置文件名称。

声明

FString NewProfileName

蓝图

Name

类型

蓝图属性类型

蓝图属性类别

New Profile Name(新配置文件名称)字符串BlueprintReadOnlyUnity Gaming Services(Unity 游戏服务)Authentication模型

C++

Name

类型

NewProfileName
FString

ErrorCode

生成的身份验证会话令牌。此令牌可用于让用户再次登录。

声明

uint8 ErrorCode = 0

蓝图

Name

类型

蓝图属性类型

蓝图属性类别

错误代码字节BlueprintReadOnlyUnity Gaming Services(Unity 游戏服务)Authentication模型

C++

Name

类型

ErrorCode
uint8

ErrorDetails

错误详细信息(如果配置文件更改出现问题)。

声明

FString ErrorDetails

蓝图

Name

类型

蓝图属性类型

蓝图属性类别

错误详细信息字符串BlueprintReadOnlyUnity Gaming Services(Unity 游戏服务)Authentication模型

C++

Name

类型

ErrorDetails
FString

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Include(包括)

    • 语法

    • 字段

      • WasSuccessful

        • 声明

        • 蓝图

        • C++

      • OldProfileName

        • 声明

        • 蓝图

        • C++

      • NewProfileName

        • 声明

        • 蓝图

        • C++

      • ErrorCode

        • 声明

        • 蓝图

        • C++

      • ErrorDetails

        • 声明

        • 蓝图

        • C++


报告此页面的问题