feat(Hotkey): Add Repair PV hotkey (#1138)

This commit is contained in:
Rxann
2023-03-26 13:45:46 -04:00
committed by GitHub
parent b603173788
commit 5144d6ce45
4 changed files with 23 additions and 4 deletions

View File

@ -1,4 +1,5 @@
#include "hotkey_service.hpp"
#include "fiber_pool.hpp"
#include "gui.hpp"
#include "network/ChatData.hpp"
@ -25,6 +26,7 @@ namespace big
register_hotkey("fastquit", g.settings.hotkeys.fast_quit, RAGE_JOAAT("fastquit"));
register_hotkey("fillammo", g.settings.hotkeys.fill_ammo, RAGE_JOAAT("fillammo"));
register_hotkey("quicksearch", g.settings.hotkeys.cmd_excecutor, RAGE_JOAAT("cmdexecutor"));
register_hotkey("repairpv", g.settings.hotkeys.repairpv, RAGE_JOAAT("repairpv"));
g_renderer->add_wndproc_callback([this](HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
wndproc(static_cast<eKeyState>(msg), wparam);