Rediger

Del via


PFAuthenticationLoginResult

PFAuthenticationLoginResult data model.

Syntax

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

Members

infoResultPayload   PFGetPlayerCombinedInfoResultPayload const*
may be nullptr

(Optional) Results for requested info.

lastLoginTime   time_t const*
may be nullptr

(Optional) The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue.

newlyCreated   bool

True if the account was newly created on this login.

playFabId   const char*
is null-terminated

(Optional) Player's unique PlayFabId.

settingsForUser   PFAuthenticationUserSettings const*
may be nullptr

(Optional) Settings specific to this user.

treatmentAssignment   PFTreatmentAssignment const*
may be nullptr

(Optional) The experimentation treatments for this user at the time of login.

Requirements

Header: PFAuthenticationTypes.h

See also

PFAuthenticationTypes members