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

◆ Init()

single position related to each particular attachment group

single position related to each particular attachment group

Make sure we are not overflow max. possible PIN code lenght

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

570 {
571 super.Init();
572
573 BunkerBroadcastConfigInstance bunkerConfig = CfgBunkerBroadcastHandler.GetData();
574 int pinCodeLength = CodeLockComponent.MIN_LOCK_PIN_LENGTH;
575
576 if (bunkerConfig && bunkerConfig.bunkerSettings)
577 {
579 pinCodeLength = bunkerConfig.bunkerSettings.lockCodeLength;
580 if (pinCodeLength > CodeLockComponent.MAX_LOCK_PIN_LENGTH)
581 pinCodeLength = CodeLockComponent.MAX_LOCK_PIN_LENGTH;
582 }
583
584 m_CodeLockComponent.SetMinimalPinCodeLength(pinCodeLength);
585 }
ref CodeLockComponent m_CodeLockComponent
Определения CodeLock.c:576
void CodeLockComponent(notnull EntityAI parent, int minLockPinLength=MIN_LOCK_PIN_LENGTH)
Определения CodeLockComponent.c:51
static BunkerBroadcastConfigInstance GetData()
Определения CfgBunkerBroadcastHandler.c:46

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