Table of Contents

Class Inventory

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Provides inventory access for an object, including item enumeration and fit checks against the repository grid.

public sealed class Inventory
Inheritance
Inventory
Inherited Members
Extension Methods

Remarks

Use Items to iterate the current contents. Fit checks validate whether a base item size can be placed within the available grid dimensions; they do not move items or account for stacking rules.

Properties

Items

Gets all items currently contained in this inventory repository.

Methods

CheckFit(NwBaseItem)

Returns whether the specified base item type can fit within this inventory's grid.

CheckFit(NwItem)

Returns whether the specified item can fit within this inventory's grid.