#include <binds.h>
|
| | CBinds () |
| |
| | ~CBinds () |
| |
| int | Sizeof () const override |
| |
| void | Bind (int KeyId, const char *pStr, bool FreeOnly=false, int ModifierCombination=MODIFIER_NONE) |
| |
| void | SetDefaults () |
| |
| void | UnbindAll () |
| |
| const char * | Get (int KeyId, int ModifierCombination) |
| |
| void | GetKey (const char *pBindStr, char *pBuf, size_t BufSize) |
| |
| void | OnConsoleInit () override |
| |
| bool | OnInput (const IInput::CEvent &Event) override |
| |
| void | SetDDRaceBinds (bool FreeOnly) |
| |
| virtual | ~CComponent ()=default |
| |
| virtual void | OnStateChange (int NewState, int OldState) |
| |
| virtual void | OnInit () |
| |
| virtual void | OnShutdown () |
| |
| virtual void | OnReset () |
| |
| virtual void | OnWindowResize () |
| |
| virtual void | OnUpdate () |
| |
| virtual void | OnRender () |
| |
| virtual void | OnNewSnapshot () |
| |
| virtual void | OnRelease () |
| |
| virtual void | OnMapLoad () |
| |
| virtual void | OnMessage (int Msg, void *pRawMsg) |
| |
| virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
| |
| virtual bool | OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates) |
| |
| virtual void | OnInterfacesInit (CGameClient *pClient) |
| |
| virtual | ~CComponentInterfaces ()=default |
| |
◆ anonymous enum
| Enumerator |
|---|
| MODIFIER_NONE | |
| MODIFIER_CTRL | |
| MODIFIER_ALT | |
| MODIFIER_SHIFT | |
| MODIFIER_GUI | |
| MODIFIER_COUNT | |
| MODIFIER_COMBINATION_COUNT | |
◆ CBinds()
◆ ~CBinds()
◆ Bind()
◆ ConBind()
◆ ConBinds()
◆ ConfigSaveCallback()
◆ ConUnbind()
◆ ConUnbindAll()
◆ Get()
◆ GetBindSlot()
◆ GetConsole()
◆ GetKey()
◆ GetKeyBindCommand()
| char * CBinds::GetKeyBindCommand |
( |
int |
ModifierCombination, |
|
|
int |
Key |
|
) |
| const |
|
private |
◆ GetKeyBindModifiersName()
| void CBinds::GetKeyBindModifiersName |
( |
int |
ModifierCombination, |
|
|
char * |
pBuf, |
|
|
size_t |
BufSize |
|
) |
| |
|
static |
◆ GetModifierMask()
| int CBinds::GetModifierMask |
( |
IInput * |
pInput | ) |
|
|
static |
◆ GetModifierMaskOfKey()
| int CBinds::GetModifierMaskOfKey |
( |
int |
Key | ) |
|
|
static |
◆ GetModifierName()
◆ OnConsoleInit()
| void CBinds::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnInput()
Called on a input event.
- Parameters
-
Reimplemented from CComponent.
◆ SetDDRaceBinds()
| void CBinds::SetDDRaceBinds |
( |
bool |
FreeOnly | ) |
|
◆ SetDefaults()
| void CBinds::SetDefaults |
( |
| ) |
|
◆ Sizeof()
| int CBinds::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ UnbindAll()
| void CBinds::UnbindAll |
( |
| ) |
|
◆ m_aapKeyBindings
◆ m_MouseOnAction
| bool CBinds::m_MouseOnAction |
◆ m_SpecialBinds
◆ m_vActiveBinds
| std::vector<CBindSlot> CBinds::m_vActiveBinds |
|
private |
The documentation for this class was generated from the following files: