|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
This is used to check if this item benefits from the specified T:Terraria.ModLoader.DamageClass.
| damageClass | The DamageClass to check for in this item. |
true if this item's T:Terraria.ModLoader.DamageClass matches damageClass , false otherwiseDefinition at line 51929 of file Item.cs.
References Terraria.Item.DamageType, Terraria.ModLoader.DamageClassLoader.effectInheritanceCache, and Terraria.ModLoader.DamageClass.Type.
Referenced by Terraria.Item.CountsAsClass< T >(), Terraria.Player.IsAmmoFreeThisShot(), Terraria.Player.ItemCheck_Inner(), and Terraria.ModLoader.ModItem.RangedPrefix().
Here is the caller graph for this function: