tModLoader v2024.03
A mod to make and play Terraria mods
AchievementCondition Class Reference

Inherited by CustomFlagCondition, CustomFloatCondition, CustomIntCondition, ItemCraftCondition, ItemPickupCondition, NPCKilledCondition, ProgressionEventCondition, and 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


bool IsCompleted [get]


AchievementUpdate OnComplete