> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationLoginResult

> PFAuthenticationLoginResult 数据模型。

PFAuthenticationLoginResult 数据模型。

## 语法

```cpp theme={null}
typedef struct PFAuthenticationLoginResult {  
    PFGetPlayerCombinedInfoResultPayload const* infoResultPayload;  
    time_t const* lastLoginTime;  
    bool newlyCreated;  
    const char* playFabId;  
    PFAuthenticationUserSettings const* settingsForUser;  
    PFTreatmentAssignment const* treatmentAssignment;  
} PFAuthenticationLoginResult;  
```

### 成员

**`infoResultPayload`**   PFGetPlayerCombinedInfoResultPayload const\*<br />*may be nullptr*

（可选）请求信息的结果。

**`lastLoginTime`**   time\_t const\*<br />*may be nullptr*

（可选）此用户上次登录的时间。如果没有之前的登录记录，则为 DateTime.MinValue。

**`newlyCreated`**   bool

如果在此登录时新建了帐户，则为 True。

**`playFabId`**   const char\*<br />*is null-terminated*

（可选）玩家的唯一 PlayFabId。

**`settingsForUser`**   [PFAuthenticationUserSettings](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationusersettings) const\*<br />*may be nullptr*

（可选）针对此用户的具体设置。

**`treatmentAssignment`**   PFTreatmentAssignment const\*<br />*may be nullptr*

（可选）登录时此用户的实验处理组分配。

## 要求

**头文件：** PFAuthenticationTypes.h

## 另请参阅

[PFAuthenticationTypes 成员](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationLoginWithPSNGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
- [PFAuthenticationLoginWithSteamGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresult.md)
- [PFAuthenticationLoginWithXboxGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresult.md)
- [PFAuthenticationLoginWithXUserGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresult.md)
- [PFAuthenticationLoginWithAppleGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
