Player inventory are a list of assets the player owns. Assets can be gifted or refunded.

Retrieve Inventory in Game

To retrieve the inventory of player in game use the following SDK code

LootLockerSDKManager.GetInventory((response) =>
    if (response.success)
        Debug.Log("Successfully retrieved player inventory: " + response.inventory.Length);
    } else
        Debug.Log("Error getting player inventory");

Gift an Asset

Gifting is the ability to grant a specific Asset to a player directly through the LootLocker Management Console.

To gift an Asset to a player, click the Give Asset button in the Player Manager interface. Search for and select an Asset from the popup Asset list. This will immediately grant the player the Asset. A list of all granted Assets can be found in the Orders tab in the Player Manager interface.

Refund an Order

Refunds can be used in case a player purchases an Asset unintentionally or needs to be refunded their purchase for other reasons. Refunding an Order in LootLocker is an easy and simple process.

To refund an Order, navigate to the Inventory tab in the Player Manager interface. Find the Asset in question and use the Refund button to refund the Asset. This will immediately refund the purchased Assets and return the Currency to the player’s wallet. If the player purchased an Asset Package, you will need to refund all Assets from that package for the Currency to be returned to the player's wallet.

Only purchased Assets can be refunded. Assets granted through other LootLocker systems cannot be refunded.

Last updated