Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | StoredAchievement |
Public Member Functions | |
AchievementManager () | |
void | Save () |
List< Achievement > | CreateAchievementsList () |
void | Load () |
void | ClearAll () |
void | Register (Achievement achievement) |
void | RegisterIconIndex (string achievementName, int iconIndex) |
void | RegisterAchievementCategory (string achievementName, AchievementCategory category) |
Achievement | GetAchievement (string achievementName) |
T | GetCondition< T > (string achievementName, string conditionName) |
AchievementCondition | GetCondition (string achievementName, string conditionName) |
int | GetIconIndex (string achievementName) |
Events | |
Achievement.AchievementCompleted | OnAchievementCompleted |
Private Member Functions | |
void | Save (string path, bool cloud) |
void | Load (string path, bool cloud) |
void | AchievementCompleted (Achievement achievement) |
Private Attributes | |
string | _savePath |
bool | _isCloudSave |
Dictionary< string, Achievement > | _achievements = new Dictionary<string, Achievement>() |
readonly JsonSerializerSettings | _serializerSettings = new JsonSerializerSettings() |
byte[] | _cryptoKey |
Dictionary< string, int > | _achievementIconIndexes = new Dictionary<string, int>() |
Static Private Attributes | |
static object | _ioLock = new object() |
Definition at line 16 of file AchievementManager.cs.