Table of Contents

Event OnAcquireItem

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Triggered whenever an NwItem is added to NwGameObject inventory.

public event Action<ModuleEvents.OnAcquireItem> OnAcquireItem

Returns

Action<ModuleEvents.OnAcquireItem>
Triggered whenever an is added to inventory.

Remarks

This event fires for all items when a player connects to the server, in addition to item/inventory interactions while playing.
It will also fire for characters failing ELC. In this case, it is recommended to do an early return in your event handler by checking if Item is null.