GetBuffTimeLeft
function · ui · primitive
- Address
0x4e4450· 50 bytes, up to0x4e4481- Signature
uint32_t __fastcall (int32_t index)- Meaning
- Returns the milliseconds until a buff ends, or 0 once past
- 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 2
Callees 2
- OsGetAsyncTimeMs core
- GetBuffRecord ui
Calls and jumps by a bare address, from tables/calls.tsv.