Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ConditionFloatTracker.cs
Go to the documentation of this file.
2
4
6{
7 public ConditionFloatTracker(float maxValue)
8 : base(TrackerType.Float)
9 {
10 _maxValue = maxValue;
11 }
12
14 : base(TrackerType.Float)
15 {
16 }
17
18 public override void ReportUpdate()
19 {
20 if (SocialAPI.Achievements != null && _name != null)
21 {
22 SocialAPI.Achievements.UpdateFloatStat(_name, _value);
23 }
24 }
25
26 protected override void Load()
27 {
28 }
29}
static Terraria.Social.Base.AchievementsSocialModule Achievements
Definition SocialAPI.cs:16