Use DLC In-Game

Initiate DLC Migrations

If you want to manually trigger a DLC migration you can use this code:

LootLockerSDKManager.InitiateDLCMigration((response) =>
{
    if (response.success)
    {
        Debug.Log("Successfully initiated DLC migrations");
    }
    else
    {
        Debug.Log("Error initiating DLC migrations");
    }
});

Get DLCs Migrated

To see what DLCs the player have already migrated

 LootLockerSDKManager.GetDLCMigrated((response) =>
{
    if (response.success)
    {
        Debug.Log("Successfully received migrated DLCs");
    }
    else
    {
        Debug.Log("Error receiving migrated DLCs");
    }
});

Last updated