tModLoader
v0.11.8.9
A mod to make and play Terraria mods
HotkeyLoader.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
4
namespace
Terraria.ModLoader
5
{
6
internal
static
class
HotKeyLoader
7
{
8
internal
static
readonly IDictionary<string, ModHotKey> modHotKeys =
new
Dictionary<string, ModHotKey>();
9
10
internal
static
IEnumerable<ModHotKey>
HotKeys => modHotKeys.Values;
11
12
internal
static
ModHotKey RegisterHotKey(ModHotKey hotkey) {
13
modHotKeys[hotkey.uniqueName] = hotkey;
14
return
hotkey;
15
}
16
17
internal
static
void
Unload() {
18
modHotKeys.Clear();
19
}
20
}
21
}
IEnumerable
Terraria.ModLoader
Definition:
AutoloadEquip.cs:4
patches
tModLoader
Terraria.ModLoader
HotkeyLoader.cs
Generated by
1.9.4