|
12 | 12 | - [#ctor()](#M-KeybindLib-Bind-ButtonBind-#ctor-InControl-InputControlType- 'KeybindLib.Bind.ButtonBind.#ctor(InControl.InputControlType)') |
13 | 13 | - [BindDefault()](#M-KeybindLib-Bind-ButtonBind-BindDefault-InControl-PlayerAction- 'KeybindLib.Bind.ButtonBind.BindDefault(InControl.PlayerAction)') |
14 | 14 | - [KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyAction') |
| 15 | +- [KeyActionRegisteredTooEarlyException](#T-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException 'KeybindLib.KeybindRegistry.KeyActionRegisteredTooEarlyException') |
| 16 | + - [KeyAction](#P-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException-KeyAction 'KeybindLib.KeybindRegistry.KeyActionRegisteredTooEarlyException.KeyAction') |
15 | 17 | - [KeyBind](#T-KeybindLib-Bind-KeyBind 'KeybindLib.Bind.KeyBind') |
16 | 18 | - [#ctor()](#M-KeybindLib-Bind-KeyBind-#ctor-InControl-Key- 'KeybindLib.Bind.KeyBind.#ctor(InControl.Key)') |
17 | 19 | - [BindDefault()](#M-KeybindLib-Bind-KeyBind-BindDefault-InControl-PlayerAction- 'KeybindLib.Bind.KeyBind.BindDefault(InControl.PlayerAction)') |
@@ -157,6 +159,24 @@ Event handler. |
157 | 159 | - [KeybindLib.Keybind.KeyPressed](#E-KeybindLib-Keybind-KeyPressed 'KeybindLib.Keybind.KeyPressed') |
158 | 160 | - [KeybindLib.Keybind.KeyReleased](#E-KeybindLib-Keybind-KeyReleased 'KeybindLib.Keybind.KeyReleased') |
159 | 161 |
|
| 162 | +<a name='T-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException'></a> |
| 163 | +## KeyActionRegisteredTooEarlyException `type` |
| 164 | + |
| 165 | +##### Namespace |
| 166 | + |
| 167 | +KeybindLib.KeybindRegistry |
| 168 | + |
| 169 | +##### Summary |
| 170 | + |
| 171 | +An exception thrown when a [KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyAction') is registered before this mod has been PreLoaded. |
| 172 | + |
| 173 | +<a name='P-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException-KeyAction'></a> |
| 174 | +### KeyAction `property` |
| 175 | + |
| 176 | +##### Summary |
| 177 | + |
| 178 | +The [KeyAction](#P-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException-KeyAction 'KeybindLib.KeybindRegistry.KeyActionRegisteredTooEarlyException.KeyAction') that was registered too early. |
| 179 | + |
160 | 180 | <a name='T-KeybindLib-Bind-KeyBind'></a> |
161 | 181 | ## KeyBind `type` |
162 | 182 |
|
@@ -442,6 +462,16 @@ Registers a [KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyA |
442 | 462 | | keyAction | [KeybindLib.Keybind.KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyAction') | The [KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyAction') to run when the key is pressed. | |
443 | 463 | | keyReleased | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | If set to true, runs when the key is released instead of when it's pressed. | |
444 | 464 |
|
| 465 | +##### Exceptions |
| 466 | + |
| 467 | +| Name | Description | |
| 468 | +| ---- | ----------- | |
| 469 | +| [KeybindLib.KeybindRegistry.KeyActionRegisteredTooEarlyException](#T-KeybindLib-KeybindRegistry-KeyActionRegisteredTooEarlyException 'KeybindLib.KeybindRegistry.KeyActionRegisteredTooEarlyException') | Thrown when this method is called before PreLoad. | |
| 470 | + |
| 471 | +##### Remarks |
| 472 | + |
| 473 | +You cannot register a [KeyAction](#T-KeybindLib-Keybind-KeyAction 'KeybindLib.Keybind.KeyAction') until after the PreLoad step. |
| 474 | + |
445 | 475 | <a name='T-KeybindLib-Main'></a> |
446 | 476 | ## Main `type` |
447 | 477 |
|
|
0 commit comments