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

◆ OnDoubleClick()

override bool WidgetEventHandler::OnDoubleClick ( Widget w,
int x,
int y,
int button )
inlineprotected

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

194 {
195 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnDoubleClick.Get( w ) );
196 if( param == NULL )
197 {
198 return false;
199 }
200
201 if( !param.param1 )
202 {
203 m_OnDoubleClick.Remove( w );
204 }
205
206 Param param2 = new Param4<Widget, int, int, int>( w, x, y, button );
207 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
208
209 return true;
210 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnDoubleClick
Определения WidgetEventHandler.c:15
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

Перекрестные ссылки ScriptModule::CallFunctionParams(), CGame::GameScript, GetGame(), m_OnDoubleClick, x и y.