Skip to content

UnitAura states, auraInstanceID update#9

Open
httpsx wants to merge 4 commits intokvirt:masterfrom
httpsx:master
Open

UnitAura states, auraInstanceID update#9
httpsx wants to merge 4 commits intokvirt:masterfrom
httpsx:master

Conversation

@httpsx
Copy link
Contributor

@httpsx httpsx commented Apr 25, 2023

  • Fix custom size buffs
  • New api UnitAura (usePackedAura)
  • Update buffs / debuffs with auraInstanceID state (10.0 update)

Auras now have an "instance ID" (auraInstanceID) which uniquely refers to an instance of an aura for the duration of its lifetime on a unit. The instance ID is expected to remain stable and suitable for use as a table key between successive updates of auras on a unit until a full aura update occurs.

The old version causes errors because the tooltip now requires an auraInstanceID ( C_TooltipInfo.GetUnitBuffByAuraInstanceID )

  • Fix cache frame colors

wKA84rI

Some frames after joined a group could be displayed as "disconnected"

frame.healthBar always {0,1,0}
You can get current color with frame:GetStatusBarColor()

httpsx added 4 commits April 25, 2023 06:20
usePackedAura for Unit Auras.
set auraInstanceID for debuffs.
frame.healthBar always {0,1,0}
You can get current color with frame:GetStatusBarColor()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant