DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
MouseButtonInfo.c
См. документацию.
2{
3 private int m_ButtonID;
4 private int m_TimeLastPress;
5 private int m_TimeLastRelease;
6
7 void MouseButtonInfo(int button)
8 {
9 m_ButtonID = button;
10 m_TimeLastPress = -1;
12 }
13
15 {
16 return m_ButtonID;
17 }
18
20 {
21 return m_TimeLastPress;
22 }
23
25 {
26 return m_TimeLastRelease;
27 }
28
29 void Press()
30 {
32 }
33
34 void Release()
35 {
37 }
38
40 {
42 {
43 return true;
44 }
45
46 return false;
47 }
48}
proto int GetTime()
returns mission time in milliseconds
int m_ButtonID
Определения MouseButtonInfo.c:3
int GetTimeLastPress()
Определения MouseButtonInfo.c:19
bool IsButtonDown()
Определения MouseButtonInfo.c:39
int GetTimeLastRelease()
Определения MouseButtonInfo.c:24
int m_TimeLastPress
Определения MouseButtonInfo.c:4
int m_TimeLastRelease
Определения MouseButtonInfo.c:5
void Release()
Определения MouseButtonInfo.c:34
void Press()
Определения MouseButtonInfo.c:29
int GetButtonID()
Определения MouseButtonInfo.c:14
void MouseButtonInfo(int button)
Определения MouseButtonInfo.c:7
proto native CGame GetGame()