Use Remote Login In-Game
Pre-requisites
The Remote Login Flow
Starting a Remote Session
public void RemoteLease()
{
LootLockerSDKManager.StartRemoteSession(leaseAction, pollingAction, onComplete);
}
Action<LootLockerLeaseRemoteSessionResponse> leaseAction = (info) =>
{
if (!info.success)
{
Debug.Log("Couldnt start Remote leasing");
return;
}
};
Action<LootLockerRemoteSessionStatusPollingResponse> pollingAction = (polling) =>
{
if(!polling.success)
{
Debug.Log("Couldnt poll Remote leasing");
return;
}
};
Action<LootLockerStartRemoteSessionResponse> onComplete = (onComplete) =>
{
if (!onComplete.success)
{
Debug.Log("Couldnt start Remote leasing");
return;
}
};Cancel the remote login process
Use the Refresh Token to Start a Session
Conclusion
Last updated
Was this helpful?



