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