Call as
Conditions.raid_marks.modeNames()
Record the dependency Conditions.raid_marks.modeNames, then call it by that name. A namespaced call does not pass self: use a colon call or pass the object yourself.
What it does
Returns the localized labels for the any, none and selected-mark modes.
Arguments
None.
Returns
| 1 | table | Mode names keyed by their saved mode. |
|---|
Editions
Built In helpers are registered on every edition. What differs is the game API they read; where one is missing the helper falls back or returns nil with a reason.
It reads no game API directly.
How the addon calls it
- Raid Mark (widget)
mode:SetList(modeNames(), MODE_ORDER)
Source
Conditions/raid_marks.lua, line 54. Read only in game; Duplicate makes an editable copy.
Conditions.raid_marks.modeNames()
return { any = L["Any mark"], none = L["No mark"], some = L["One of these marks"] }