![]() |
LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
|
Custom email/password account system built into your game.
Players sign in with an email address and password unique to your game. Includes customizable reset-password and confirm-account pages that match your game's branding. Integrates with Connected Accounts so that guest players can 'upgrade' to a fully registered account at any time, preserving their existing progress.
See the LootLocker documentation.
|
inlinestatic |
Checks for a stored session and if that session is valid.
Depending on response of this method the developer can either start a session using the token, or show a login form. White Label platform must be enabled in the web console for this to work.
| onComplete | onComplete Action bool that returns true if a White Label session exists |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Checks for a stored session and if that session is valid.
Depending on response of this method the developer can either start a session using the token, or show a login form. White Label platform must be enabled in the web console for this to work.
| The email to check for a valid white label session | |
| onComplete | onComplete Action bool that returns true if a White Label session exists |
|
inlinestatic |
Checks if the provided session token is valid for the provided White Label email.
Depending on response of this method the developer can either start a session using the token, or show a login form. White Label platform must be enabled in the web console for this to work.
| E-mail for the user | |
| token | The token is received when starting a White Label session. |
| onComplete | onComplete Action bool that returns true if a White Label session exists |
|
inlinestatic |
Start a LootLocker Session using the cached White Label token and email if any exist White Label platform must be enabled in the web console for this to work.
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional parameters for the session start request |
|
inlinestatic |
Start a LootLocker Session using the provided White Label request.
White Label platform must be enabled in the web console for this to work.
| sessionRequest | A White Label Session Request with inner values already set |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
inlinestatic |
Start a LootLocker Session using the cached White Label token for the specified email if it exist White Label platform must be enabled in the web console for this to work.
| The email of the White Label user to start a WL session for | |
| Optionals | Optional parameters for the session start request |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
inlinestatic |
Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
White Label platform must be enabled in the web console for this to work.
| E-mail for an existing user | |
| password | Password for an existing user |
| onComplete | onComplete Action for handling the response of type LootLockerWhiteLabelLoginResponse |
|
inlinestatic |
Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
Set remember=true to prolong the session lifetime White Label platform must be enabled in the web console for this to work.
| E-mail for an existing user | |
| password | Password for an existing user |
| remember | Set remember=true to prolong the session lifetime |
| onComplete | onComplete Action for handling the response of type LootLockerWhiteLabelLoginResponse |
|
inlinestatic |
Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
If that succeeds, then also start a LootLocker Session. The response is nested. The top properties will give the complete success condition and eventual error data. Nested inside the response you can also find the specific responses of the two composite calls using LoginResponse and SessionResponse respectively Set remember=true to prolong the session lifetime White Label platform must be enabled in the web console for this to work.
| E-mail for an existing user | |
| password | Password for an existing user |
| rememberMe | Set remember=true to prolong the session lifetime |
| onComplete | onComplete Action for handling the response |
|
inlinestatic |
Request a password reset email for the given email address.
White Label platform must be enabled in the web console for this to work.
| E-mail for the user | |
| onComplete | onComplete Action for handling the response of type LootLockerResponse |
|
inlinestatic |
Request verify account email for the user.
White Label platform must be enabled in the web console for this to work. Account verification must also be enabled.
| userID | ID of the player, will be retrieved when signing up/logging in. |
| onComplete | onComplete Action for handling the response of type LootLockerResponse |
|
inlinestatic |
Request verify account email for the user.
White Label platform must be enabled in the web console for this to work. Account verification must also be enabled.
| Email of the player | |
| onComplete | onComplete Action for handling the response of type LootLockerResponse |
|
inlinestatic |
Create new user using the White Label login system.
White Label platform must be enabled in the web console for this to work.
| E-mail for the new user | |
| password | Password for the new user |
| onComplete | onComplete Action for handling the response of type LootLockerWhiteLabelSignupResponse |
Functions | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLogin (string email, string password, Action< LootLockerWhiteLabelLoginResponse > onComplete) |
| Log in a White Label user with the given email and password combination, verify user, and start a White Label Session. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLogin (string email, string password, bool remember, Action< LootLockerWhiteLabelLoginResponse > onComplete) |
| Log in a White Label user with the given email and password combination, verify user, and start a White Label Session. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelSignUp (string email, string password, Action< LootLockerWhiteLabelSignupResponse > onComplete) |
| Create new user using the White Label login system. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestPassword (string email, Action< LootLockerResponse > onComplete) |
| Request a password reset email for the given email address. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestVerification (int userID, Action< LootLockerResponse > onComplete) |
| Request verify account email for the user. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestVerification (string email, Action< LootLockerResponse > onComplete) |
| Request verify account email for the user. | |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (Action< bool > onComplete, string forPlayerWithUlid=null) |
| Checks for a stored session and if that session is valid. | |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (string email, Action< bool > onComplete) |
| Checks for a stored session and if that session is valid. | |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (string email, string token, Action< bool > onComplete) |
| Checks if the provided session token is valid for the provided White Label email. | |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (Action< LootLockerSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null) |
| Start a LootLocker Session using the cached White Label token and email if any exist White Label platform must be enabled in the web console for this to work. | |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (string email, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null) |
| Start a LootLocker Session using the cached White Label token for the specified email if it exist White Label platform must be enabled in the web console for this to work. | |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (LootLockerWhiteLabelSessionRequest sessionRequest, Action< LootLockerSessionResponse > onComplete) |
| Start a LootLocker Session using the provided White Label request. | |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLoginAndStartSession (string email, string password, bool rememberMe, Action< LootLockerWhiteLabelLoginAndStartSessionResponse > onComplete) |
| Log in a White Label user with the given email and password combination, verify user, and start a White Label Session. | |