TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ HasBuff()

bool Terraria.Player.HasBuff ( int type)
inline

Returns whether or not this Player currently has a (de)buff of the provided type.

Definition at line 58267 of file Player.cs.

58268 {
58269 return FindBuffIndex(type) != -1;
58270 }
int FindBuffIndex(int type)
Definition Player.cs:5676

References Terraria.Player.FindBuffIndex().

Referenced by Terraria.Player.HasBuff< T >().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: