Table of Contents

Class OnStoreRequestBuy

Namespace
Anvil.API.Events
Assembly
NWN.Anvil.dll

Triggered when a creature requests to buy an item from a store.

public sealed class OnStoreRequestBuy : IEvent
Inheritance
OnStoreRequestBuy
Implements
Inherited Members
Extension Methods

Properties

Creature

Gets the creature requesting the purchase.

Item

Gets the item to be purchased, if available.

PreventBuy

Set to true to prevent the purchase.

Price

Gets the calculated purchase price.

Result

Gets the result of the purchase request.

Store

Gets the target store handling the purchase, if available.