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

◆ CountsAsClass< T >()

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

Type Constraints
T :DamageClass 

Definition at line 51919 of file Item.cs.

51919 : DamageClass
51920 {
51921 return CountsAsClass(ModContent.GetInstance<T>());
51922 }
bool CountsAsClass(DamageClass damageClass)
This is used to check if this item benefits from the specified T:Terraria.ModLoader....
Definition Item.cs:51929
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

References Terraria.Item.CountsAsClass().

+ Here is the call graph for this function: