Bewerken

Delen via


PFAuthenticationAuthenticateGameServerWithCustomIdGetResult

Get the result from a PFAuthenticationAuthenticateGameServerWithCustomIdAsync call.

Syntax

HRESULT PFAuthenticationAuthenticateGameServerWithCustomIdGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    bool* newlyCreated  
)  

Parameters

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

entityHandle   PFEntityHandle*
output

PFEntityHandle which can be used to authenticate other PlayFab API calls.

newlyCreated   bool*
optional output

Will be set to true if the account was newly created on this authentication and false otherwise

Return value

Type: HRESULT

Result code for this API operation. If the service call is unsuccessful, the result will be one of global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

Remarks

If the PFAuthenticationAuthenticateGameServerWithCustomIdAsync call fails, entityHandle with be null. Otherwise, the handle must be closed with PFEntityCloseHandle when it is no longer needed.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members