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

◆ CountsAsClass< T >()

bool Terraria.Projectile.CountsAsClass< T > ( )
inline

Type Constraints
T :DamageClass 

Definition at line 93168 of file Projectile.cs.

93168 : DamageClass
93169 {
93170 return CountsAsClass(ModContent.GetInstance<T>());
93171 }
T:Terraria.ModLoader.DamageClass is used to determine the application of item effects,...
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
Definition ModContent.cs:38
bool CountsAsClass(DamageClass damageClass)
This is used to check if the projectile is considered to be a member of a specified T:Terraria....