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

◆ OnMouseButtonUp()

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

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

270 {
271 Param2<Managed, string> param = Param2<Managed, string>.Cast( m_OnMouseButtonUpRegister.Get( w ) );
272 if( param == NULL )
273 {
274 return false;
275 }
276
277 if( !param.param1 )
278 {
279 m_OnMouseButtonUpRegister.Remove( w );
280 }
281
282 Param param2 = new Param4<Widget, int, int, int>( w, x, y, button );
283 GetGame().GameScript.CallFunctionParams( param.param1, param.param2, NULL, param2 );
284
285 return true;
286 }
Icon x
Icon y
ScriptModule GameScript
Определения Game.c:12
ref map< Widget, ref Param > m_OnMouseButtonUpRegister
Определения WidgetEventHandler.c:6
proto native CGame GetGame()
proto volatile int CallFunctionParams(Class inst, string function, out void returnVal, Class parms)

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