# NFTInventory Class

### Usage

```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Xerial
{
    public class NFTInventory
    {
        // Implementation details
    }
}
```

### Constructor

```csharp
/// Initializes a new instance of the NFTInventory class.
public NFTInventory()
{
    // Initialization of class members
    nfts = new List<NFT>();
}
```

### Properties

* **nfts**: A list of `NFT` objects representing the NFTs in the inventory.

### Methods

* **AddNFT(NFT nft)**: Adds the specified NFT to the inventory.

#### Example

```csharp
// Instantiate NFTInventory
NFTInventory inventory = new NFTInventory();

// Add NFT to inventory
NFT nft = new NFT(/* Initialize NFT properties */);
inventory.AddNFT(nft);
```


---

# 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/nftinventory-class.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.
