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

◆ OnMouseWheel()

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

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

408 {
409 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnMouseWheel.Get( w ) );
410 if( param == NULL )
411 {
412 return false;
413 }
414
415 if( !param.param1 )
416 {
417 m_OnMouseWheel.Remove( w );
418 }
419
420 Param param2 = new Param4<Widget, int, int, int>( w, x, y, wheel );
421 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
422
423 return true;
424 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnMouseWheel
Определения WidgetEventHandler.c:7
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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