|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to draw before the resources (hearts, stars, bars and/or panels) in a display set are drawn.
If you want to implement your own display set, it is recommended to use T:Terraria.ModLoader.ModResourceDisplaySet instead of this hook.
| snapshot | A snapshot of the stats from Main.LocalPlayer |
| displaySet | The display set being drawn |
| drawingLife | Whether the life or mana display is going to be drawn. true if the life display is going to be drawn, false if the mana display is going to be drawn. |
| textColor | The color to draw the text above the resources with. Only applies to the Classic display set. |
| drawText | Whether the text above the resources should draw. Only applies to the Classic display set. |
Definition at line 57 of file ModResourceOverlay.cs.