tModLoader v2022.09
A mod to make and play Terraria mods
|
Public Member Functions | |
void | Draw (SpriteBatch spriteBatch) |
bool | TryGetSpecialVanillaBossBar (int netID, out IBigProgressBar bossBar) |
Gets the special IBigProgressBar associated with this vanilla NPCs netID (usually the type). More... | |
bool | TryTracking (int npcIndex) |
void | Update () |
Properties | |
NeverValidProgressBar | NeverValid [get] |
bool Terraria.GameContent.UI.BigProgressBar.BigProgressBarSystem.TryGetSpecialVanillaBossBar | ( | int | netID, |
out IBigProgressBar | bossBar | ||
) |
Gets the special IBigProgressBar associated with this vanilla NPCs netID (usually the type).
Reminder: If no special bar exists or NPC.BossBar is not assigned, any NPC with a boss head index will automatically display a common boss bar shared among all simple bosses.
netID | The NPC netID (usually the type) |
bossBar | When this method returns, contains the IBigProgressBar associated with the specified NPC netID |
true
if IBigProgressBar exists; otherwise, false
.