benilla-re systems structs docs

FindBuffRecord

function · ui · primitive

Address
0x4e43b0 · 115 bytes, up to 0x4e4422
Meaning
Returns the index-th record passing a filter mask and stores its position
Confidence
verified, proof one
Finding
ui/auradisplay#getplayerbuff

Finding: GetPlayerBuff in ui: the buff display functions

GetPlayerBuff(index [, filter]) raises Usage: GetPlayerBuff(index [, "filter"]) for a non-number index and pushes two numbers: the record position of the index-th record that passes the filter (0-based), or -1, and the record's until-cancelled flag, or 0. The filter is a string of tokens split at spaces and pipes: HELPFUL (1), HARMFUL (2), CANCELABLE (0x10) and NOT_CANCELABLE (0x20), case-insensitive. With no filter argument the mask is 3. A filter string with no known token gives 0 and nothing passes.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.