EOS_Auth_LinkAccountCallbackInfo

EOS API reference page for EOS_Auth_LinkAccountCallbackInfo

2 分で読めます

This data structure is part of the Auth Interface.

Remarks

Output parameters for the EOS_Auth_LinkAccount Function.

Properties

EOS_Auth_LinkAccountCallbackInfo

PropertyValue
EOS_EResult ResultCodeThe EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
void* ClientDataContext that was passed into EOS_Auth_LinkAccount
EOS_EpicAccountId LocalUserIdThe Epic Account ID of the local user whose account has been linked during login
const EOS_Auth_PinGrantInfo* PinGrantInfoOptional data returned when ResultCode is EOS_Auth_PinGrantCode. Once the user has logged in with their Epic Online Services account, the account will be linked with the external account supplied when EOS_Auth_Login was called. EOS_Auth_OnLinkAccountCallback will be fired again with ResultCode in EOS_Auth_LinkAccountCallbackInfo set to EOS_Success.
EOS_EpicAccountId SelectedAccountIdThe Epic Account ID that has been previously selected to be used for the current application. Applications should use this ID to authenticate with online backend services that store game-scoped data for users. Note: This ID may be different from LocalUserId if the user has previously merged Epic accounts into the account represented by LocalUserId, and one of the accounts that got merged had game data associated with it for the application.