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

◆ OnChildRemove()

override bool WidgetEventHandler::OnChildRemove ( Widget w,
Widget child )
inlineprotected

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

446 {
447 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnChildRemove.Get( w ) );
448 if( param == NULL )
449 {
450 return false;
451 }
452
453 if( !param.param1 )
454 {
455 m_OnChildRemove.Remove( w );
456 }
457
458 Param param2 = new Param2<Widget, Widget>( w, child );
459 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
460
461 return true;
462 }
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnChildRemove
Определения WidgetEventHandler.c:20
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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