filterInventorySelect⚓︎
This event fires when an inventory filter has been selected for an item.
--- @param e filterInventorySelectEventData
local function filterInventorySelectCallback(e)
end
event.register(tes3.event.filterInventorySelect, filterInventorySelectCallback)
Tip
This event can be filtered based on the type event data.
Tip
An event can be claimed by setting e.claim to true, or by returning false from the callback. Claiming the event prevents any lower priority callbacks from being called.
Event Data⚓︎
filter(boolean, nil): Iftrue, the item will be displayed in the menu. Iffalse, the item will not be displayed. If leftnil, the default behavior is used.item(tes3item): Read-only. The item being filtered.itemData(tes3itemData): Read-only. The item data for the item being filtered.type(string): Read-only. The inventory filter type.