For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/InventoryItemEventOptions.md.

Interface: InventoryItemEventOptions

event inventory

Beta

包含库存物品事件的额外过滤选项。

Contains additional filtering options for inventory item events.

Properties

allowedSlots?

optional allowedSlots?: number[]

Beta

Remarks

要考虑的插槽索引。值应为正数。如果未指定,则考虑所有插槽。

The slot indexes to consider. Values should be positive numbers. If not specified, all slots are considered.

Bounds: [0, 1000]


excludeItems?

optional excludeItems?: string[]

Beta

Remarks

要排除的物品名称。

The names for the items to exclude.


excludeTags?

optional excludeTags?: string[]

Beta

Remarks

要排除的物品标签。

The item tags to exclude.


ignoreQuantityChange?

optional ignoreQuantityChange?: boolean

Beta

Remarks

标记为仅忽略数量变化。true 表示忽略数量变化,false 表示不忽略数量变化。

Flag to specify to ignore quantity changes only. True to ignore quantity changes, false to not ignore quantity changes.


includeItems?

optional includeItems?: string[]

Beta

Remarks

要考虑的物品名称。

The item names to consider.


includeTags?

optional includeTags?: string[]

Beta

Remarks

要考虑的物品标签。

The item tags to consider.


inventoryType?

optional inventoryType?: PlayerInventoryType

Beta

Remarks

要考虑的玩家库存类型。

The player inventory type to consider.

同领域相关