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

◆ GetSeatIndexFromDoor()

int map::GetSeatIndexFromDoor ( string pDoorSelection)
inlineprotected

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

761 {
762 //Potientially could be fixed some other way, currently follows the unfortunate pattern that CanReachDoorsFromSeat has created
763 switch (pDoorSelection)
764 {
765 case "DoorsDriver":
766 return 0;
767 break;
768 case "DoorsCoDriver":
769 return 1;
770 break;
771 case "DoorsCargo1":
772 return 2;
773 break;
774 case "DoorsCargo2":
775 return 3;
776 break;
777 }
778 return -1;
779 }
Определения Transport.c:70