-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCalRemixKeybinds.cs
More file actions
30 lines (29 loc) · 1.25 KB
/
CalRemixKeybinds.cs
File metadata and controls
30 lines (29 loc) · 1.25 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
using Terraria.ModLoader;
namespace CalRemix
{
public class CalRemixKeybinds : ModSystem
{
public static ModKeybind BaroClawHotKey { get; private set; }
public static ModKeybind PolyDashKeybind { get; private set; }
public static ModKeybind StealthPotKeybind { get; private set; }
public static ModKeybind IonoLightningKeybind { get; private set; }
public static ModKeybind InfraredSightsKeybind { get; private set; }
public override void Load()
{
// Register keybinds
BaroClawHotKey = KeybindLoader.RegisterKeybind(Mod, "Baroclaw", ";");
PolyDashKeybind = KeybindLoader.RegisterKeybind(Mod, "Polypebral Dash", "Mouse4");
StealthPotKeybind = KeybindLoader.RegisterKeybind(Mod, "Quick Stealth", "L");
IonoLightningKeybind = KeybindLoader.RegisterKeybind(Mod, "Ionic Lightning", "]");
InfraredSightsKeybind = KeybindLoader.RegisterKeybind(Mod, "Infrared Sights", "NumPad0");
}
public override void Unload()
{
BaroClawHotKey = null;
PolyDashKeybind = null;
StealthPotKeybind = null;
IonoLightningKeybind = null;
InfraredSightsKeybind = null;
}
}
}