См. определение в файле UIScriptedMenu.c строка 252
253 {
254 if ( UIScriptedWindow.GetActiveWindows() )
255 {
256 for (
int i = 0; i < UIScriptedWindow.GetActiveWindows().
Count(); i++ )
257 {
258 if ( UIScriptedWindow.GetActiveWindows().GetElement( i ).OnModalResult( w,
x,
y, code, result ) )
259 {
260 return true;
261 }
262 }
263 }
264
265 return false;
266 }
Перекрестные ссылки Count, UIScriptedWindow::GetActiveWindows(), x и y.