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

◆ GetLockSideByComponentIndex()

int GetLockSideByComponentIndex ( int componentIndex)
protected

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

785 {
786 array<string> selections = new array<string>;
787 GetActionComponentNameList(componentIndex, selections);
788
789 int facingSide = -1;
790 foreach (string selectionName : selections)
791 {
792 if (selectionName == LOCK_SELECTION_OUTSIDE)
793 {
794 facingSide = FACING_OUTSIDE;
795 break;
796 }
797
798 if (selectionName == LOCK_SELECTION_INSIDE)
799 {
800 facingSide = FACING_INSIDE;
801 break;
802 }
803 }
804
805 return facingSide;
806 }
enum LockAction LOCK_SELECTION_OUTSIDE
static const int FACING_INSIDE
Определения CombinationLock.c:30
static const int FACING_OUTSIDE
Определения CombinationLock.c:29
static const string LOCK_SELECTION_INSIDE
Определения CombinationLock.c:28
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки FACING_INSIDE, FACING_OUTSIDE, LOCK_SELECTION_INSIDE и LOCK_SELECTION_OUTSIDE.