Class EOS_Auth_LinkAccountCallbackInfo

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.auth.callbackresults.EOS_Auth_LinkAccountCallbackInfo
Direct Known Subclasses:
EOS_Auth_LinkAccountCallbackInfo.ByReference, EOS_Auth_LinkAccountCallbackInfo.ByValue

@FieldOrder({"ResultCode","ClientData","LocalUserId","PinGrantInfo","SelectedAccountId"}) public class EOS_Auth_LinkAccountCallbackInfo extends com.sun.jna.Structure
Output parameters for the EOS_Auth_LinkAccount Function.
Since:
8/5/2023
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.sun.jna.Pointer
    Context that was passed into EOS_Auth_LinkAccount
    The Epic Account ID of the local user whose account has been linked during login
    Optional data returned when ResultCode is EOS_Auth_PinGrantCode.
    The EOS_EResult code for the operation.
    The Epic Account ID that has been previously selected to be used for the current application.

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_Auth_LinkAccountCallbackInfo(com.sun.jna.Pointer peer)
     
  • Method Summary

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ResultCode

      public EOS_EResult ResultCode
      The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
    • ClientData

      public com.sun.jna.Pointer ClientData
      Context that was passed into EOS_Auth_LinkAccount
    • LocalUserId

      public EOS_EpicAccountId LocalUserId
      The Epic Account ID of the local user whose account has been linked during login
    • PinGrantInfo

      public EOS_Auth_PinGrantInfo.ByReference PinGrantInfo
      Optional 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.

    • SelectedAccountId

      public EOS_EpicAccountId SelectedAccountId
      The 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.

  • Constructor Details

    • EOS_Auth_LinkAccountCallbackInfo

      public EOS_Auth_LinkAccountCallbackInfo()
    • EOS_Auth_LinkAccountCallbackInfo

      public EOS_Auth_LinkAccountCallbackInfo(com.sun.jna.Pointer peer)