tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Achievements.AchievementManager Class Reference

Public Member Functions

void ClearAll ()
 
List< AchievementCreateAchievementsList ()
 
Achievement GetAchievement (string achievementName)
 
AchievementCondition GetCondition (string achievementName, string conditionName)
 
GetCondition< T > (string achievementName, string conditionName)
 
int GetIconIndex (string achievementName)
 
void Load ()
 
void Register (Achievement achievement)
 
void RegisterAchievementCategory (string achievementName, AchievementCategory category)
 
void RegisterIconIndex (string achievementName, int iconIndex)
 
void Save ()
 

Events

Achievement.AchievementCompleted OnAchievementCompleted
 

Member Function Documentation

◆ GetCondition< T >()

T Terraria.Achievements.AchievementManager.GetCondition< T > ( string  achievementName,
string  conditionName 
)
Type Constraints
T :AchievementCondition 
T :GetCondition 
T :achievementName 
T :conditionName 
T :as 
T :T