Llamar como
Conditions.item.itemHelp(frame)
Registra la dependencia Conditions.item.itemHelp y después llámala con ese nombre. Una llamada con espacio de nombres no pasa self: usa una llamada con dos puntos o pasa el objeto tú mismo.
Qué hace
Adds the item condition editors' help text to frame: the shared item widget help, a gap, and a note on how item sets, bag counts and restricted observations are evaluated.
Argumentos
| Nombre | Tipo | Qué hace |
|---|---|---|
frame | table | Help container the text is added to. |
Retornos
Nada.
Ediciones
Las funciones auxiliares integradas se registran en todas las ediciones. Lo que cambia es la API del juego que leen; donde falta alguna, la función auxiliar usa una alternativa o devuelve nil con un motivo.
No lee directamente ninguna API del juego.
Cómo la llama el addon
- Tener objeto en las bolsas (help)
itemHelp(frame) - Tener objeto equipado (help)
itemHelp(frame) - Objeto disponible (help)
itemHelp(frame) - Tiempo de reutilización del objeto (help)
itemHelp(frame) - Objeto al alcance (help)
itemHelp(frame)
Dependencias
helpers(builtin:Conditions/item.lua:helpers)
Código fuente
Conditions/item.lua, línea 52. Solo lectura en el juego; Duplicar crea una copia editable.
Conditions.item.itemHelp(frame)
addon.layout_condition_itemwidget_help(frame)
frame:AddChild(helpers.Gap())
frame:AddChild(helpers.CreateText(L["Item sets are checked in priority order. Bag counts use the first carried candidate, not the sum. Availability, range and cooldown checks use the first carried or equipped candidate. Missing or restricted observations stay unavailable, including under NOT."]))