DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnClick()

bool PluginDayzPlayerDebug_OtherCmds::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

buttons clicks

См. определение в файле PluginDayzPlayerDebug_OtherCmds.c строка 66

67 {
68 if( w == m_DeathStartButton )
69 {
70 Print("PluginPlayerDebug: Death Start");
71 m_CH_DeathStart = true;
72 return true;
73 }
74 else if( w == m_HitStartButton )
75 {
76 Print("PluginPlayerDebug: Uncon Start");
77 m_CH_HitStart = true;
78 return true;
79 }
80 else if( w == m_UnconStartButton )
81 {
82 Print("PluginPlayerDebug: Uncon Start");
83 m_CH_UnconStart = true;
84 return true;
85 }
86 else if( w == m_UnconEndButton )
87 {
88 Print("PluginPlayerDebug: Uncon End");
89 m_CH_UnconEnd = true;
90 return true;
91 }
92
93 return false;
94 }
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки m_CH_DeathStart, m_CH_HitStart, m_CH_UnconEnd, m_CH_UnconStart, m_DeathStartButton, m_HitStartButton, m_UnconEndButton, m_UnconStartButton, Print(), x и y.