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