Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
keybinding.c
Go to the documentation of this file.
1 class KeyBinding
2 {
3  private int m_ActiveUIMenuID;
4  private int m_Key1;
5  private int m_Key2;
6  private string m_CallbackTarget;
7  private string m_CallbackFunction;
8  private string m_InfoKeys;
9  private string m_InfoDescription
10 
11  void KeyBinding( int ui_id, int key1, int key2, string call_target, string call_function, string info_bind, string info_description )
12  {
13  m_ActiveUIMenuID = ui_id;
14  m_Key1 = key1;
15  m_Key2 = key2;
16  m_CallbackTarget = call_target;
17  m_CallbackFunction = call_function;
18  m_InfoKeys = info_bind;
19  m_InfoDescription = info_description;
20  }
21 
22  int GetUIMenuID()
23  {
24  return m_ActiveUIMenuID;
25  }
26 
27  int GetKey1()
28  {
29  return m_Key1;
30  }
31 
32  int GetKey2()
33  {
34  return m_Key2;
35  }
36 
37  string GetCallbackTarget()
38  {
39  return m_CallbackTarget;
40  }
41 
42  string GetCallbackFunction()
43  {
44  return m_CallbackFunction;
45  }
46 
47  string GetInfoBind()
48  {
49  return m_InfoKeys;
50  }
51 
52  string GetInfoDescription()
53  {
54  return m_InfoDescription;
55  }
56 }
KeyBinding
Definition: keybinding.c:1