Table of Contents

Method GiveItem

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GiveItem(NwItem)

Moves the specified item/item stack to this placeable's inventory.

public Task GiveItem(NwItem item)

Parameters

item NwItem

The item to add.

Returns

Task

GiveItem(NwItem, int)

Moves a specified amount of items from an item stack to this placeable's inventory.

public Task GiveItem(NwItem item, int amount)

Parameters

item NwItem

The item to add.

amount int

The number of items from the item stack to take.

Returns

Task