Inventory Manager
The InventoryManager class is responsible for managing inventory-related operations within Unity applications using the Xerial services.
Overview
It provides functionalities to retrieve project NFTs, transfer NFTs, and manage the projects NFT inventory.
Usage
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Xerial;
public class InventoryManager
{
// Implementation details
}Example
// Instantiate InventoryManager
InventoryManager inventoryManager = new InventoryManager();Constructor
Properties
getNFTs: An instance of the
GetProjectInventoryclass responsible for fetching project NFTs.transferNFTRequester: An instance of the
TransferNFTRequesterclass responsible for requesting NFT transfers.inventory: An instance of the
NFTInventoryclass responsible for managing the NFT inventory.
Last updated