tModLoader
v0.11.8.9
A mod to make and play Terraria mods
Toggle main menu visibility
Main Page
Packages
Package List
Package Members
All
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Files
File List
File Members
All
Typedefs
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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