#include <KeyBindHandler.h>
To Use:
- This class only works with arcdps
- Make sure you have set tha extern variables in
arcdps_structs.h
. Those are called here.
- The Singleton also has to be setup
- Call
Wnd
in mod_wnd
(arcdps callback)
◆ SubscriberFlags
◆ SubscriberFun
The function that is called when a Key-combination is pressed.
- Returns
- boolean if the event should be consumed.
◆ SubscriberFlags_
Enumerator |
---|
SubscriberFlags_None | |
SubscriberFlags_ArcdpsModifier | |
◆ GetArcdpsModifier()
KeyBinds::Modifier ArcdpsExtension::KeyBindHandler::GetArcdpsModifier |
( |
| ) |
|
|
static |
Call to get the arcdps modifier as KeyBindModifier (here cause it cannot be in KeyBindHelper)
◆ Subscribe()
uint64_t ArcdpsExtension::KeyBindHandler::Subscribe |
( |
Subscriber |
pSubscriber | ) |
|
Subscribe a function to a Key that is called when the Key-combination is pressed.
- Returns
- ID of the Subscription, use this in Unsubscribe.
◆ Unsubscribe()
void ArcdpsExtension::KeyBindHandler::Unsubscribe |
( |
uint64_t |
pId | ) |
|
Unsubscribe given Subscription ID
◆ UpdateKey()
void ArcdpsExtension::KeyBindHandler::UpdateKey |
( |
uint64_t |
pId, |
|
|
const KeyBinds::Key & |
pKey |
|
) |
| |
Update the Key of the given Subscription ID
◆ UpdateKeys()
void ArcdpsExtension::KeyBindHandler::UpdateKeys |
( |
const KeyBinds::Key & |
pOldKey, |
|
|
const KeyBinds::Key & |
pNewKey |
|
) |
| |
Update all existing pOldKey
tracked values to pNewKey
◆ Wnd()
bool ArcdpsExtension::KeyBindHandler::Wnd |
( |
HWND |
hWnd, |
|
|
UINT |
uMsg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
The documentation for this class was generated from the following files: