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

Inherits IBestiaryInfoElement, and IUpdateBeforeSorting.

Public Member Functions

 NPCStatsReportInfoElement (int npcNetId)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
delegate void StatAdjustmentStep (NPCStatsReportInfoElement element)
 
void UpdateBeforeSorting ()
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
void UpdateBeforeSorting ()
 

Public Attributes

int Damage
 
int Defense
 
float KnockbackResist
 
int LifeMax
 
float MonetaryValue
 
int NpcId
 

Events

StatAdjustmentStep OnRefreshStats
 

Member Function Documentation

◆ ProvideUIElement()

UIElement NPCStatsReportInfoElement.ProvideUIElement ( BestiaryUICollectionInfo  info)

Implements IBestiaryInfoElement.

◆ UpdateBeforeSorting()

void NPCStatsReportInfoElement.UpdateBeforeSorting ( )

Implements IUpdateBeforeSorting.