#include <binds.h>
|
| CBinds () |
|
| ~CBinds () |
|
virtual 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) |
|
virtual void | OnConsoleInit () override |
|
virtual bool | OnInput (const IInput::CEvent &Event) override |
|
void | SetDDRaceBinds (bool FreeOnly) |
|
virtual | ~CComponent () |
|
virtual int | Sizeof () const =0 |
|
class CGameClient * | GameClient () const |
|
class IClient * | Client () const |
|
virtual void | OnStateChange (int NewState, int OldState) |
|
virtual void | OnConsoleInit () |
|
virtual void | OnInit () |
|
virtual void | OnShutdown () |
|
virtual void | OnReset () |
|
virtual void | OnWindowResize () |
|
virtual void | OnRefreshSkins () |
|
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 | OnInput (const IInput::CEvent &Event) |
|
◆ anonymous enum
Enumerator |
---|
MODIFIER_NONE | |
MODIFIER_CTRL | |
MODIFIER_ALT | |
MODIFIER_SHIFT | |
MODIFIER_GUI | |
MODIFIER_COUNT | |
MODIFIER_COMBINATION_COUNT | |
◆ CBinds()
◆ ~CBinds()
◆ Bind()
void CBinds::Bind |
( |
int |
KeyId, |
|
|
const char * |
pStr, |
|
|
bool |
FreeOnly = false , |
|
|
int |
ModifierCombination = MODIFIER_NONE |
|
) |
| |
◆ ConBind()
◆ ConBinds()
◆ ConfigSaveCallback()
void CBinds::ConfigSaveCallback |
( |
IConfigManager * |
pConfigManager, |
|
|
void * |
pUserData |
|
) |
| |
|
staticprivate |
◆ ConUnbind()
◆ ConUnbindAll()
◆ Get()
const char * CBinds::Get |
( |
int |
KeyId, |
|
|
int |
ModifierCombination |
|
) |
| |
◆ GetBindSlot()
◆ GetConsole()
class IConsole * CBinds::GetConsole |
( |
| ) |
const |
|
inlineprivate |
◆ GetKey()
void CBinds::GetKey |
( |
const char * |
pBindStr, |
|
|
char * |
pBuf, |
|
|
size_t |
BufSize |
|
) |
| |
◆ 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()
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()
virtual 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: