![]() |
LootLocker Unreal SDK 10.6.0
Game backend SDK for Unreal Engine
|
Link multiple platform accounts together under a single LootLocker player identity.
Once linked, the same player profile loads regardless of which platform the game is started on, enabling cross-platform progression and cross-saves. Linking can be done via External Linking (redirects to the LootLocker auth.game website; recommended for most cases) or Direct Linking (used when the player is already on the target platform). Also supports transitioning a Guest Login to any other provider.
See the LootLocker documentation.
| typedef void(* FLootLockerAccountConnectedResponseDelegate) (FLootLockerAccountConnectedResponse) |
C++ response delegate for connecting a provider to an account.
| typedef void(* FLootLockerListConnectedAccountsResponseDelegate) (FLootLockerListConnectedAccountsResponse) |
C++ response delegate for listing connected accounts.
|
strong |
|
strong |
|
static |
Link an Apple account (REST sign-in).
| AuthorizationCode | Authorization code from Apple sign-in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Discord account.
| Token | Token from Discord sign-in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link an Epic account.
| Token | Token from Epic sign-in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Google account.
| IdToken | ID token from Google sign-in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Google account for a specific Google platform.
| IdToken | ID token from Google sign-in |
| Platform | Google OAuth2 client platform |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Google Play Games account.
| AuthCode | The auth code from Google Play Games sign in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Nintendo Switch account.
| NSAIdToken | The NSA ID token from Nintendo Switch sign in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a PlayStation account.
| Environment | PlayStation environment (e.g. prod, dev, qa) |
| Code | Authorization code (parameter missing in original doc) |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link an account via remote session lease.
| Code | Lease code from start remote session |
| Nonce | Nonce from start remote session |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Steam account.
| SteamTicket | The Steam session ticket (hex-encoded) |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link a Twitch account.
| AuthorizationCode | Authorization code from Twitch sign-in |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Link an Xbox account.
| XboxUserToken | The Xbox user token |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Disconnect a linked identity provider.
| AccountToDisconnect | Provider to disconnect |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
List connected identity providers (Apple, Google, etc.).
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Transfer identity providers between two authenticated players.
Destructive: providers move from source to target player. Entire operation fails if any provider cannot be transferred.
NOTE: Requires ELootLockerMultiUserSessionMode::Hotseat to be configured (ULootLockerConfig::MultiUserSessionMode), because this method needs two simultaneously active local sessions. It returns an error if the current mode is SingleSession or ProfileSwitching.
Limitations:
| FromPlayerWithUlid | Source player ULID |
| ToPlayerWithUlid | Target player ULID |
| ProvidersToTransfer | Providers to transfer |
| OnComplete | Delegate for handling the server response |
Typedefs | |
| typedef void(* | FLootLockerAccountConnectedResponseDelegate) (FLootLockerAccountConnectedResponse) |
| C++ response delegate for connecting a provider to an account. | |
| typedef void(* | FLootLockerListConnectedAccountsResponseDelegate) (FLootLockerListConnectedAccountsResponse) |
| C++ response delegate for listing connected accounts. | |
Enumerations | |
| enum class | ELootLockerAccountProvider : uint8 { ELootLockerAccountProvider::Guest = 0 , ELootLockerAccountProvider::Google = 1 , ELootLockerAccountProvider::Apple = 2 , ELootLockerAccountProvider::Steam = 3 , ELootLockerAccountProvider::Epic_games = 4 , ELootLockerAccountProvider::Credentials = 5 , ELootLockerAccountProvider::Nintendo = 6 , ELootLockerAccountProvider::Xbox = 7 , ELootLockerAccountProvider::Playstation = 8 , ELootLockerAccountProvider::Twitch = 9 , ELootLockerAccountProvider::Discord = 10 , ELootLockerAccountProvider::Google_play_games = 11 } |
| Account providers possible to use for connected accounts. More... | |
| enum class | EGoogleAccountProviderPlatform : uint8 { EGoogleAccountProviderPlatform::web = 0 , EGoogleAccountProviderPlatform::android = 1 , EGoogleAccountProviderPlatform::ios = 2 , EGoogleAccountProviderPlatform::desktop = 4 } |
| Google OAuth2 Client platform. More... | |
Functions | |
| static FString | ULootLockerSDKManager::ListConnectedAccounts (const FLootLockerListConnectedAccountsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| List connected identity providers (Apple, Google, etc.). | |
| static FString | ULootLockerSDKManager::DisconnectAccount (const ELootLockerAccountProvider AccountToDisconnect, const FLootLockerDefaultDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Disconnect a linked identity provider. | |
| static FString | ULootLockerSDKManager::ConnectGoogleAccount (const FString &IdToken, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Google account. | |
| static FString | ULootLockerSDKManager::ConnectGoogleAccount (const FString &IdToken, EGoogleAccountProviderPlatform Platform, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Google account for a specific Google platform. | |
| static FString | ULootLockerSDKManager::ConnectAppleAccountByRestSignIn (const FString &AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link an Apple account (REST sign-in). | |
| static FString | ULootLockerSDKManager::ConnectTwitchAccount (const FString &AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Twitch account. | |
| static FString | ULootLockerSDKManager::ConnectSteamAccount (const FString &SteamTicket, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Steam account. | |
| static FString | ULootLockerSDKManager::ConnectXboxAccount (const FString &XboxUserToken, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link an Xbox account. | |
| static FString | ULootLockerSDKManager::ConnectNintendoAccount (const FString &NSAIdToken, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Nintendo Switch account. | |
| static FString | ULootLockerSDKManager::ConnectGooglePlayGamesAccount (const FString &AuthCode, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Google Play Games account. | |
| static FString | ULootLockerSDKManager::ConnectEpicAccount (const FString &Token, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link an Epic account. | |
| static FString | ULootLockerSDKManager::ConnectPlaystationAccount (const FString &Environment, const FString &Code, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a PlayStation account. | |
| static FString | ULootLockerSDKManager::ConnectDiscordAccount (const FString &Token, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link a Discord account. | |
| static FString | ULootLockerSDKManager::ConnectRemoteSessionAccount (const FString &Code, const FString &Nonce, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Link an account via remote session lease. | |
| static FString | ULootLockerSDKManager::TransferIdentityProvidersBetweenAccounts (const FString &FromPlayerWithUlid, const FString &ToPlayerWithUlid, TArray< ELootLockerAccountProvider > ProvidersToTransfer, const FLootLockerListConnectedAccountsResponseDelegate &OnComplete) |
| Transfer identity providers between two authenticated players. | |