~/forever/addon-api/function/C_ActionBar.GetActionDisplayCount
C_ActionBar.GetActionDisplayCount
documented function · ActionBar
C_ActionBar.GetActionDisplayCount(actionID, maxDisplayCount, replacementString) : displayCountDepending on the action type, return a string that is either the use count or number of charges. If value is beyond the display count parameter, returns the replacementString (defaults to '*').
──ARGUMENTS
- actionID
- luaIndex
- maxDisplayCount
- number, default 9999
- replacementString
- cstring, default *
──RETURNS
- displayCount
- string
──DETAILS
- Requires Valid Action Slot
- true
- Secret When Cooldowns Restricted
- true
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.