extensions.generateItemTags

Generates tags for an item.

mixintemplate extensions()
WebdWebItem
generateItemTags
(
ulong itemId
,
bool strict = true
)

Parameters

itemId ulong

The item id.

strict bool

Boolean determining whether the tag generation is strict or not. If it's strict it will throw a 404, else it will just return null for the item.

Return Value

Type: WebdWebItem

The item that generated the tags' db representation. Returns null if it's non-strict and the item doesn't exist.

Meta