LootLockerSDKManager.StartSession
. This call only requires you to send a playerIdentifier
which can be any string you use to identify your players.player_identifier
.LootLockerSDKManager
: Our SDK Manager script. You can view this yourself to see all the functions we supportStartSession
: The function in the SDK you need to callplayerIdentifier
: The data to send to the SDK to make a session call. This should be unique to the player as it allows for really fast authentication without the need for a username or password. You could generate a Unique ID for your players and save this somewhere on the device or you can decide to use a device identifier and link the player's account to the player's device.response.success
to get the success value from the JSON response from the server.success
boolean used in the snippet above, we also return a host of other data, such as the player’s ID, if they are a new or returning user etc. If you would like to dive deeper into this SessionResponse
, you can find the code for the SDK on GitHub.