#[repr(C)]pub struct _tagEOS_Auth_LoginCallbackInfo {
pub ResultCode: EOS_EResult,
pub ClientData: *mut c_void,
pub LocalUserId: EOS_EpicAccountId,
pub PinGrantInfo: *const EOS_Auth_PinGrantInfo,
pub ContinuanceToken: EOS_ContinuanceToken,
pub AccountFeatureRestrictedInfo_DEPRECATED: *const EOS_Auth_AccountFeatureRestrictedInfo,
pub SelectedAccountId: EOS_EpicAccountId,
}Expand description
Output parameters for the EOS_Auth_Login Function.
Fields§
§ResultCode: EOS_EResultThe EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
ClientData: *mut c_voidContext that was passed into EOS_Auth_Login.
LocalUserId: EOS_EpicAccountIdThe Epic Account ID of the local user who has logged in.
PinGrantInfo: *const EOS_Auth_PinGrantInfoOptional data that may be returned in the middle of the login flow, when neither the in-game overlay or a platform browser is used. This data is present when the ResultCode is EOS_Auth_PinGrantCode.
ContinuanceToken: EOS_ContinuanceTokenIf the user was not found with external auth credentials passed into EOS_Auth_Login, this continuance token can be passed to EOS_Auth_LinkAccount to continue the flow.
AccountFeatureRestrictedInfo_DEPRECATED: *const EOS_Auth_AccountFeatureRestrictedInfoDeprecated field that is no longer used.
SelectedAccountId: EOS_EpicAccountIdThe 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.
Trait Implementations§
Source§impl Clone for _tagEOS_Auth_LoginCallbackInfo
impl Clone for _tagEOS_Auth_LoginCallbackInfo
Source§fn clone(&self) -> _tagEOS_Auth_LoginCallbackInfo
fn clone(&self) -> _tagEOS_Auth_LoginCallbackInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more