Table of Contents

Method RemoveItemProperties

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

RemoveItemProperties(ItemPropertyTableEntry?, ItemPropertySubTypeTableEntry?, EffectDuration?, string?)

Remove all item properties from this item, using the specified filter options.
If no filters are set, removes all item properties from this item.

public void RemoveItemProperties(ItemPropertyTableEntry? propertyType = null, ItemPropertySubTypeTableEntry? subType = null, EffectDuration? durationType = null, string? tag = null)

Parameters

propertyType ItemPropertyTableEntry

If set, restricts the deletion of item properties to the specified type.

subType ItemPropertySubTypeTableEntry

If set, restricts the deletion of item properties to the specified sub-type.

durationType EffectDuration?

If set, restricts the deletion of item properties to the specified duration type.

tag string

If set, restricts the deletion of item properties to the specified tag.