View Single Post
07-11-21, 04:20 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
Bliz. unit frames are configured using the UnitFrame_Initialize function. If the unit has a myHealPredictionBar, it gets passed to this function as one of it's parameters which is assigned to:
Code:
self.myHealPredictionBar = myHealPredictionBar
When called, the UnitFrameHealPredictionBars_Update function checks if the frame has a .myHealPredictionBar and if so, updates it.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 07-11-21 at 04:39 PM.
  Reply With Quote