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

◆ OnFocus()

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

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

370 {
371 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnFocus.Get( w ) );
372 if( param == NULL )
373 {
374 return false;
375 }
376
377 if( !param.param1 )
378 {
379 m_OnFocus.Remove( w );
380 }
381
382 Param param2 = new Param3<Widget, int, int>( w, x, y );
383 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
384
385 return true;
386 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnFocus
Определения WidgetEventHandler.c:16
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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