TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
HasBuff< T >()
bool
Terraria.NPC.HasBuff
< T >
(
)
inline
Type Constraints
T
:
ModBuff
Definition at line
112517
of file
NPC.cs
.
112517
:
ModBuff
112518
{
112519
return
HasBuff
(
ModContent
.BuffType<T>());
112520
}
Terraria.ModLoader.ModBuff
This class serves as a place for you to define a new buff and how that buff behaves.
Definition
ModBuff.cs:13
Terraria.ModLoader.ModContent
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
Definition
ModContent.cs:38
Terraria.NPC.HasBuff
bool HasBuff(int type)
Returns whether or not this NPC currently has a (de)buff of the provided type.
Definition
NPC.cs:112511
Terraria
NPC
Generated by
1.10.0