|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Checks if the buff at index buffSlotOnPlayer is allowed to draw a "remaining time" text, and sets buffTimeValue to it.
Check buffTimeValue > 2 afterwards if you want to mirror text draw logic.
| buffSlotOnPlayer | The index for buffType and buffTime |
| buffTimeValue | The "remaining time" in ticks |
true if buffTimeValue is set, otherwise falseDefinition at line 55877 of file Main.cs.
References Terraria.Main.buffNoTimeDisplay, Terraria.Main.expertMode, Terraria.Main.lightPet, Terraria.Main.myPlayer, Terraria.Main.player, and Terraria.Main.vanityPet.
Referenced by Terraria.Main.DrawBuffIcon().
Here is the caller graph for this function: