跳到主要内容

Shop Category

A category within a shop

A category/tab within a shop definition. Allows organizing shop items into tabs with custom icons and display names.

字段

字段类型默认值描述
iconVar<Item>—Icon item for this category tab.
itemIndicesList<Int>emptyItems belonging to this category (by index in the parent shop).
layoutIdString—Layout pool ID for this category's item display. If empty, uses the parent shop's main layout.
TypeWriter 通用字段(displayName)
字段类型默认值描述
displayNameString—Display name for this category tab.

How to use it​

Not used by the shop menu

This entry exists in the panel, but no code of the current release reads it. A shop built with categories must use views and a baseMenuId shell on the Shop Definition instead.