# Inventory Manager

## Overview

It provides functionalities to retrieve project NFTs, transfer NFTs, and manage the projects NFT inventory.

### Usage

```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Xerial;

public class InventoryManager  
{
    // Implementation details
}
```

#### Example

```csharp
// Instantiate InventoryManager
InventoryManager inventoryManager = new InventoryManager();
```

### Constructor

```csharp
/// Initializes a new instance of the InventoryManager class.

public InventoryManager()
{
    // Initialization of class members
     getNFTs = new GetProjectInventory();
     transferNFTRequester = new TransferNFTRequester();
     inventory = new NFTInventory();
}
```

### Properties

* **getNFTs**: An instance of the `GetProjectInventory` class responsible for fetching project NFTs.
* **transferNFTRequester**: An instance of the `TransferNFTRequester` class responsible for requesting NFT transfers.
* **inventory**: An instance of the `NFTInventory` class responsible for managing the NFT inventory.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xerial.gitbook.io/xerial-doc/gaming-toolkit/xerial-unity-sdk-guide/xerial-services/service-managers/inventory-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
