tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Achievements.AchievementCondition Class Reference

Inherited by Terraria.GameContent.Achievements.CustomFlagCondition, Terraria.GameContent.Achievements.CustomFloatCondition, Terraria.GameContent.Achievements.CustomIntCondition, Terraria.GameContent.Achievements.ItemCraftCondition, Terraria.GameContent.Achievements.ItemPickupCondition, Terraria.GameContent.Achievements.NPCKilledCondition, Terraria.GameContent.Achievements.ProgressionEventCondition, and Terraria.GameContent.Achievements.TileDestroyedCondition.

Public Member Functions

delegate void AchievementUpdate (AchievementCondition condition)
 
virtual void Clear ()
 
virtual void Complete ()
 
IAchievementTracker GetAchievementTracker ()
 
virtual void Load (JObject state)
 

Public Attributes

readonly string Name
 

Protected Member Functions

 AchievementCondition (string name)
 
virtual IAchievementTracker CreateAchievementTracker ()
 

Protected Attributes

IAchievementTracker _tracker
 

Properties

bool IsCompleted [get]
 

Events

AchievementUpdate OnComplete