tModLoader v2024.10
A mod to make and play Terraria mods
|
Public Member Functions | |
void | BindTo (Preferences preferences) |
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 () |
Static Public Member Functions | |
static void | ToggleShowText () |
Static Public Attributes | |
static bool | ShowText = true |
Properties | |
NeverValidProgressBar | NeverValid [get] |
bool 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
.