DIFF

class PluginKeyBindingSource

PluginKeyBinding PluginBase

All members, including inherited

Constructors 1

void PluginKeyBinding()
References instance

Constants 3

protected const int CLICK_TIME = 200

ms

protected const int DOUBLE_CLICK_TIME = 300

ms

protected const int HOLD_CLICK_TIME_MIN = 300

ms

Referenced by OnFrame()

Members 4

protected ref array<ref KeyBinding> m_KeyBindings
Referenced by GetKeyBindings(), OnInit(), OnKeyPress()
Show 1 more, RegisterKeyBind()
protected ref array<ref MouseButtonInfo> m_MouseButtons
protected ref array<ref MouseBinding> m_MouseBindings
Referenced by GetMouseBindings(), OnInit(), OnMouse()
Show 1 more, RegisterMouseBind()

Methods 16

override void OnDestroy()
void OnKeyRelease(int key)
void OnMouseButtonPress(int button)
array<ref KeyBinding> GetKeyBindings()
References m_KeyBindings
Referenced by HelpScreen.Init()
array<ref MouseBinding> GetMouseBindings()
References m_MouseBindings
Referenced by HelpScreen.Init()
protected void RegisterKeyBind(int ui_id, int key_code1, int key_code2, string plugin_name, string fnc_name, string info_shortcut, string info_description)
Referenced by OnInit()
protected void RegisterMouseBind(int ui_id, int mouse_button, int mouse_event, string plugin_name, string fnc_name, string info_shortcut, string info_description)
Referenced by OnInit()
protected bool IsCurrentUIPageValid(int ui_page_request)
Referenced by OnKeyPress(), and OnMouse()
bool CheckMask(int source_mask, int target_mask)
protected MouseButtonInfo GetMouseButtonInfo(int button)
protected bool IsKeyPressed(int key)
References KeyState()
Referenced by OnKeyPress()