-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDJMapHelperModule.cs
More file actions
64 lines (56 loc) · 2.04 KB
/
Copy pathDJMapHelperModule.cs
File metadata and controls
64 lines (56 loc) · 2.04 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using System;
using Celeste.Mod.DJMapHelper.Cutscenes;
using Celeste.Mod.DJMapHelper.Entities;
using Celeste.Mod.DJMapHelper.Triggers;
namespace Celeste.Mod.DJMapHelper;
// ReSharper disable once ClassNeverInstantiated.Global
public class DJMapHelperModule : EverestModule {
// Only one alive module instance can exist at any given time.
// ReSharper disable once NotAccessedField.Global
public static DJMapHelperModule Instance { get; private set; }
public DJMapHelperModule() {
Instance = this;
}
public override Type SessionType => typeof(DJMapHelperSession);
public static DJMapHelperSession Session => (DJMapHelperSession) Instance._Session;
public override Type SaveDataType => null;
public override void Load() {
AngryOshiroRight.OnLoad();
BadelineBoostDown.OnLoad();
BadelineProtector.OnLoad();
ChangeBossPatternTrigger.OnLoad();
ChangeSpinnerColorTrigger.OnLoad();
ClimbBlockerTrigger.OnLoad();
ColorfulFlyFeather.OnLoad();
ColorfulRefill.OnLoad();
CS_BoostTeleport.OnLoad();
FeatherBarrier.OnLoad();
FinalBossReversed.OnLoad();
FlingBirdReversed.OnLoad();
MaxDashesTrigger.OnLoad();
TheoCrystalBarrier.OnLoad();
SpringGreen.OnLoad();
}
public override void Unload() {
AngryOshiroRight.OnUnload();
BadelineBoostDown.OnUnLoad();
BadelineProtector.OnUnload();
ChangeBossPatternTrigger.OnUnload();
ChangeSpinnerColorTrigger.OnUnload();
ClimbBlockerTrigger.OnUnLoad();
ColorfulFlyFeather.OnUnload();
ColorfulRefill.OnUnload();
CS_BoostTeleport.OnUnload();
FeatherBarrier.OnUnload();
FinalBossReversed.OnUnload();
FlingBirdReversed.OnUnLoad();
MaxDashesTrigger.OnUnload();
TheoCrystalBarrier.OnUnload();
SpringGreen.OnUnLoad();
}
public override void LoadContent(bool firstLoad) {
if (firstLoad) {
ColorfulFlyFeather.OnLoadContent();
}
}
}