См. определение в файле CodeLockComponent.c строка 350
351 {
352 bool success;
353
355 {
357 return;
358
360 {
361
363 {
364 #ifdef CODELOCKCOMPONENT_LOG
367 #endif
368
370 {
371
372
374 success = true;
375 }
376 else
377 {
378
380 if (parentIB)
381 parentIB.StartItemSoundServer(SoundConstants.ITEM_DIGITAL_LOCK_ERROR);
383 success = false;
384 }
385 }
386 }
387 else
388 {
389
391 success = true;
392 }
393 }
394
395 if (
g_Game.IsDedicatedServer())
396 {
398 }
399
400
403 {
405 }
406
407 Param1<bool> response = new Param1<bool>(success);
409 }
bool SetInputCode(string pin, bool force=true)
bool SetLockCode(string pin, bool sync=true)
void HandleBruteForceProtectionServer()
void SetLockState(bool state, bool sync=true)
Super root of all classes in Enforce script.
CodeLockVisualManager GetVisualManager()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), ErrorEx, g_Game, GetGame(), GetInputPIN(), GetLockPIN(), DigitalCodeLock::GetVisualManager(), HandleBruteForceProtectionServer(), m_HasPIN, m_InputPIN, m_IsLocked, m_LockPIN, m_Parent, SetInputCode(), SetLockCode() и SetLockState().
Используется в OnRPC().