tModLoader v2024.10
A mod to make and play Terraria mods
AchievementTracker< T > Class Template Referenceabstract

Inherits IAchievementTracker.

Public Member Functions

abstract void ReportUpdate ()
 
void SetValue (T newValue, bool reportUpdate=true)
 
void Clear ()
 
TrackerType GetTrackerType ()
 
void Load ()
 
void ReportAs (string name)
 

Protected Member Functions

 AchievementTracker (TrackerType type)
 
abstract void Load ()
 
void OnComplete ()
 

Protected Attributes

_maxValue
 
string _name
 
_value
 

Properties

MaxValue [get]
 
Value [get]
 

Member Function Documentation

◆ Load()

abstract void AchievementTracker< T >.Load ( )
protectedpure virtual

Implements IAchievementTracker.