-
Notifications
You must be signed in to change notification settings - Fork 0
/
PressF11.cs
37 lines (32 loc) · 988 Bytes
/
PressF11.cs
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
using Terraria;
using Terraria.ModLoader;
namespace PressF11
{
class PressF11 : Mod
{
public static ModHotKey SwitchSlots;
public static ModHotKey SwapVertical;
public static ModHotKey SwapHorizontal;
public static ModHotKey LootAll;
public static ModHotKey CraftRandom;
public PressF11()
{
}
public override void Load()
{
SwitchSlots = RegisterHotKey("Switch Slots", "Y");
SwapVertical = RegisterHotKey("Swap Vertical", "U");
SwapHorizontal = RegisterHotKey("Swap Horizontal", "I");
LootAll = RegisterHotKey("Loot All", "L");
CraftRandom = RegisterHotKey("Craft Random Item(s)", "K");
}
public override void Unload()
{
SwitchSlots = null;
SwapVertical = null;
SwapHorizontal = null;
LootAll = null;
CraftRandom = null;
}
}
}