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

◆ HasSelection()

bool IEntity::HasSelection ( string selection)
inlineprivate

Returns true if the given selection was found in the p3d file. False if otherwise.

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

412 {
413 TStringArray selections = new TStringArray;
414 GetSelectionList( selections );
415
416 for ( int i = 0; i < selections.Count(); ++i )
417 {
418 if ( selections.Get( i ) == selection )
419 {
420 return true;
421 }
422 }
423
424 return false;
425 }
proto native void GetSelectionList(out TStringArray selectionList)
array< string > TStringArray
Определения EnScript.c:685

Перекрестные ссылки GetSelectionList().