-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
43 lines (40 loc) · 1.74 KB
/
Program.cs
File metadata and controls
43 lines (40 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using Landfall.Modding;
using UnityEngine;
using Object = UnityEngine.Object;
namespace InGameStats;
/// <summary>
/// InGameStats plugin class. This is the entry point for the mod.
/// </summary>
[LandfallPlugin]
public class Program {
static Program() {
GameObject instance = new (nameof(InGameStats));
Object.DontDestroyOnLoad(instance);
instance.AddComponent<InGameStats>();
InGameStats.RegisterStat<PerfectLandingStreak>();
InGameStats.RegisterStat<BestLandingStreak>();
InGameStats.RegisterStat<AverageLandingScore>();
InGameStats.RegisterStat<TotalDistanceTravelled>();
InGameStats.RegisterStat<GroundDistanceTravelled>();
InGameStats.RegisterStat<AirDistanceTravelled>();
InGameStats.RegisterStat<LuckStat>();
InGameStats.RegisterStat<BoostStat>();
InGameStats.RegisterStat<HealthStat>();
InGameStats.RegisterStat<MaxHealthStat>();
InGameStats.RegisterStat<MaxEnergyStat>();
InGameStats.RegisterStat<PickUpRangeStat>();
InGameStats.RegisterStat<SpeedStat>();
InGameStats.RegisterStat<ItemUnlockProgressionStat>();
InGameStats.RegisterStat<CollapseSpeedStat>();
InGameStats.RegisterStat<ObstacleDensityStat>();
InGameStats.RegisterStat<UpcomingLevelTypeStat>();
InGameStats.RegisterStat<CurrentShardStat>();
InGameStats.RegisterStat<CurrentLevelStat>();
InGameStats.RegisterStat<CurrentSeedStat>();
InGameStats.RegisterStat<NoHitTracker>();
InGameStats.RegisterStat<NoDeathTracker>();
InGameStats.RegisterStat<NoItemTracker>();
InGameStats.RegisterStat<OnlyPerfectLandingsTracker>();
InGameStats.RegisterStat<OnlySRanksTracker>();
}
}