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

◆ ActivateBruteForceProtection()

void ActivateBruteForceProtection ( float protectionTime,
float protectionResetTime )
private

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

427 {
428 if (m_Stage < CodeLockStage.PROTECTION_STAGE_ONE)
429 {
430 SetStage(CodeLockStage.PROTECTION_STAGE_ONE);
431 }
432 else if (m_Stage == CodeLockStage.PROTECTION_STAGE_ONE)
433 {
434 SetStage(CodeLockStage.PROTECTION_STAGE_TWO);
435 }
436
439
441 m_BruteForceUpdateTimer.Run(protectionTime, this, "CheckBruteForceState");
442
444 m_BruteForceResetTimer.Run(protectionResetTime, this, "CheckBruteForceReset");
445
448
449 if (g_Game.IsDedicatedServer())
450 m_Parent.SetSynchDirty();
451 }
Entity m_Parent
Определения CachedEquipmentStorageBase.c:17
void SetStage(CodeLockStage stage)
Определения CodeLockComponent.c:76
int m_WrongCodeCount
Определения CodeLockComponent.c:46
bool m_HasBruteForceProtection
Определения CodeLockComponent.c:47
ref Timer m_BruteForceUpdateTimer
Определения CodeLockComponent.c:44
int m_Stage
Определения CodeLockComponent.c:43
ref Timer m_BruteForceResetTimer
Определения CodeLockComponent.c:45
CodeLockStage
Определения CodeLockComponent.c:5
void UpdateParentVisuals()
Определения CodeLockComponent.c:600
bool m_HandleBruteForceProtection
Определения CodeLockComponent.c:48
DayZGame g_Game
Определения DayZGame.c:4074
Определения DayZPlayerImplement.c:39
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, m_BruteForceResetTimer, m_BruteForceUpdateTimer, m_HandleBruteForceProtection, m_HasBruteForceProtection, m_Parent, m_Stage, m_WrongCodeCount, SetStage() и UpdateParentVisuals().

Используется в HandleBruteForceProtectionServer().