tModLoader v2024.10
A mod to make and play Terraria mods
DamageClassLoader Class Reference

Static Public Member Functions

static DamageClass GetDamageClass (int type)
 Gets the DamageClass instance corresponding to the specified type More...
 

Properties

static int DamageClassCount [get]
 

Member Function Documentation

◆ GetDamageClass()

static DamageClass DamageClassLoader.GetDamageClass ( int  type)
static

Gets the DamageClass instance corresponding to the specified type

Parameters
typeThe DamageClass.Type of the damage class
Returns
The DamageClass instance, null if not found.