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

◆ OnMouseEnter()

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

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

232 {
233 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnMouseEnter.Get( w ) );
234 if( param == NULL )
235 {
236 return false;
237 }
238
239 if( !param.param1 )
240 {
241 m_OnMouseEnter.Remove( w );
242 }
243
244 Param param2 = new Param3<Widget, int, int>( w, x, y );
245 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
246
247 return true;
248 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnMouseEnter
Определения WidgetEventHandler.c:12
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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