tModLoader v2024.09
A mod to make and play Terraria mods
NPCKilledCondition Class Reference

Inherits AchievementCondition.

Static Public Member Functions

static AchievementCondition Create (params short[] npcIds)
 
static AchievementCondition Create (short npcId)
 
static AchievementCondition[] CreateMany (params short[] npcs)
 

Additional Inherited Members

- Public Member Functions inherited from AchievementCondition
delegate void AchievementUpdate (AchievementCondition condition)
 
virtual void Clear ()
 
virtual void Complete ()
 
IAchievementTracker GetAchievementTracker ()
 
virtual void Load (JObject state)
 
- Public Attributes inherited from AchievementCondition
readonly string Name
 
- Protected Member Functions inherited from AchievementCondition
 AchievementCondition (string name)
 
virtual IAchievementTracker CreateAchievementTracker ()
 
- Protected Attributes inherited from AchievementCondition
IAchievementTracker _tracker
 
- Properties inherited from AchievementCondition
bool IsCompleted [get]
 
- Events inherited from AchievementCondition
AchievementUpdate OnComplete