benilla-re systems structs docs

Script::GetPlayerBuffApplications

function · ui · orchestration

Address
0x4e48b0 · 125 bytes, up to 0x4e492c
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the stack count of a buff record, 1 for none
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auradisplay#texture-dispel-type-stacks-and-time

Finding: Texture, dispel type, stacks and time in ui: the buff display functions

GetPlayerBuffTexture(position) pushes the icon path of the record's spell (Spell.dbc icon id at +0x1d4, then the SpellIcon row's path at +4), or nil. GetPlayerBuffApplications(position) pushes the stack count of +0x9, or the number 1 for no record. GetPlayerBuffDispelType(position) pushes the string in column 11 of the SpellDispelType row of the spell's dispel id (+0x10), or nil for an id of 0, a missing row or a row whose word +0x28 is 0. GetPlayerBuffTimeLeft(position) pushes the time left in seconds (0x4e4450 times 0.001), 0 for no record.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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