benilla-re systems structs docs

Script::GetPlayerBuff

function · ui · primitive

Address
0x4e45d0 · 365 bytes, up to 0x4e473c
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the position of the index-th buff passing the filter and its until-cancelled flag
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 10

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