> ## 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

如果 master\_player\_account 是在此次登入時新建立的，則為 True。

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

（選擇性）玩家的唯一 PlayFabId。

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

（選擇性）此使用者專屬的設定。

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

（選擇性）登入時此使用者的實驗處理。

## 需求

**標頭：** PFAuthenticationTypes.h

## 另請參閱

[PFAuthenticationTypes 成員](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

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