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

◆ OnMouseLeave()

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

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

213 {
214 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnMouseButtonLeave.Get( w ) );
215 if( param == NULL )
216 {
217 return false;
218 }
219
220 if( !param.param1 )
221 {
222 m_OnMouseButtonLeave.Remove( w );
223 }
224
225 Param param2 = new Param4<Widget, Widget, int, int>( w, enterW, x, y );
226 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
227
228 return true;
229 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnMouseButtonLeave
Определения WidgetEventHandler.c:13
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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