GetBuffRecord
function · ui · primitive
- Address
0x4e4430· 23 bytes, up to0x4e4446- Signature
void * __fastcall (int32_t index)- Meaning
- Returns the 16-byte buff record of an index below 48, else 0
- Confidence
- verified, proof one
- Finding
- ui/tooltipbuff#the-time-left-on-buffs
Finding: The time left on buffs in ui: Buff tooltips and the spell selectors
GameTooltip:SetPlayerBuff(index) finds the player's buff record by index and builds the aura tooltip
from its spell id, level and stack count. If the buff has an end, it adds a last line in gold with the
time left, SPELL_TIME_REMAINING with a unit suffix, counted up to the next whole unit for days, hours and
minutes and down for seconds. A buff that lasts until cancelled has no such line. The tooltips of other
units' auras never have it.
The derivation is in the doc.
Callers 6
- GetBuffTimeLeft ui
- Script::GetPlayerBuffTexture ui
- Script::GetPlayerBuffDispelType ui
- Script::GetPlayerBuffApplications ui
- Script::CancelPlayerBuff ui
- GameTooltip::SetPlayerBuff ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.