#include <binds.h>
|
| | CBinds () |
| | ~CBinds () override |
| int | Sizeof () const override |
| void | Bind (int KeyId, const char *pStr, bool FreeOnly=false, int ModifierCombination=KeyModifier::NONE) |
| void | SetDefaults () |
| void | UnbindAll () |
| const char * | Get (int KeyId, int ModifierCombination) const |
| const char * | Get (const CBindSlot &BindSlot) const |
| void | GetKey (const char *pBindStr, char *pBuf, size_t BufSize) const |
| void | GetKeyBindName (int Key, int ModifierMask, char *pBuf, size_t BufSize) const |
| void | OnConsoleInit () override |
| bool | OnInput (const IInput::CEvent &Event) override |
| void | SetDDRaceBinds (bool FreeOnly) |
| 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 |
◆ CBinds()
◆ ~CBinds()
◆ Bind()
| void CBinds::Bind |
( |
int | KeyId, |
|
|
const char * | pStr, |
|
|
bool | FreeOnly = false, |
|
|
int | ModifierCombination = KeyModifier::NONE ) |
◆ ConBind()
◆ ConBinds()
◆ ConfigSaveCallback()
| void CBinds::ConfigSaveCallback |
( |
IConfigManager * | pConfigManager, |
|
|
void * | pUserData ) |
|
staticprivate |
◆ ConUnbind()
◆ ConUnbindAll()
◆ Get() [1/2]
| const char * CBinds::Get |
( |
const CBindSlot & | BindSlot | ) |
const |
◆ Get() [2/2]
| const char * CBinds::Get |
( |
int | KeyId, |
|
|
int | ModifierCombination ) const |
◆ GetBindSlot()
| CBindSlot CBinds::GetBindSlot |
( |
const char * | pBindString | ) |
const |
|
private |
◆ GetKey()
| void CBinds::GetKey |
( |
const char * | pBindStr, |
|
|
char * | pBuf, |
|
|
size_t | BufSize ) const |
◆ GetKeyBindCommand()
| char * CBinds::GetKeyBindCommand |
( |
int | ModifierCombination, |
|
|
int | Key ) const |
|
private |
◆ GetKeyBindName()
| void CBinds::GetKeyBindName |
( |
int | Key, |
|
|
int | ModifierMask, |
|
|
char * | pBuf, |
|
|
size_t | BufSize ) const |
◆ GetModifierMask()
| int CBinds::GetModifierMask |
( |
IInput * | pInput | ) |
|
|
static |
◆ GetModifierMaskOfKey()
| int CBinds::GetModifierMaskOfKey |
( |
int | Key | ) |
|
|
static |
◆ GetModifierName()
| const char * CBinds::GetModifierName |
( |
int | Modifier | ) |
|
|
static |
◆ 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: