TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PostDrawResourceDisplay()

virtual void Terraria.ModLoader.ModResourceOverlay.PostDrawResourceDisplay ( PlayerStatsSnapshot snapshot,
IPlayerResourcesDisplaySet displaySet,
bool drawingLife,
Color textColor,
bool drawText )
inlinevirtual

Allows you to draw after the resources (hearts, stars, bars and/or panels) in a display set are drawn.

Parameters
snapshotA snapshot of the stats from Main.LocalPlayer
displaySetThe display set that was drawn
drawingLifeWhether the life or mana display was drawn. true if the life display was drawn, false if the mana display was drawn.
textColorThe color the text above the resources was drawn with. Only applies to the Class display set.
drawTextWhether the text above the resources was drawn. Only applies to the Classic display set.

Definition at line 74 of file ModResourceOverlay.cs.

75 {
76 }