tModLoader v2024.11
A mod to make and play Terraria mods
ResourceOverlayLoader Class Reference

Static Public Member Functions

static bool DisplayHoverText (PlayerStatsSnapshot snapshot, IPlayerResourcesDisplaySet displaySet, bool drawingLife)
 
static void DrawResource (ResourceOverlayDrawContext drawContext)
 Draws a resource, typically life or mana More...
 
static ModResourceOverlay GetOverlay (int type)
 
static void PostDrawResource (ResourceOverlayDrawContext context)
 
static void PostDrawResourceDisplay (PlayerStatsSnapshot snapshot, IPlayerResourcesDisplaySet displaySet, bool drawingLife, Color textColor, bool drawText)
 
static bool PreDrawResource (ResourceOverlayDrawContext context)
 
static bool PreDrawResourceDisplay (PlayerStatsSnapshot snapshot, IPlayerResourcesDisplaySet displaySet, bool drawingLife, ref Color textColor, out bool drawText)
 

Properties

static int OverlayCount [get]
 

Member Function Documentation

◆ DrawResource()

static void ResourceOverlayLoader.DrawResource ( ResourceOverlayDrawContext  drawContext)
static

Draws a resource, typically life or mana

Parameters
drawContextThe drawing context