Work with Drop Tables In-Game
Get Drops From Drop Table
int dropTableInstanceID = 87;
LootLockerSDKManager.ComputeAndLockDropTable(dropTableInstanceID, (response) =>
{
if (response.success)
{
Debug.Log("Successfully computed drops: " + response.items.Length);
}
else
{
Debug.Log("Error computing drops");
}
});Give Dropped Items To The Player
int dropTableInstanceID = 87;
int[] pickIDs = new int[] { 1 };
LootLockerSDKManager.PickDropsFromDropTable(pickIDs, dropTableInstanceID, (response) =>
{
if (response.success)
{
Debug.Log("Successfully computed drops: " + response.items.Length);
}
else
{
Debug.Log("Error computing drops");
}
});Last updated
Was this helpful?


