![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | LockAction { NONE , DIAL_NUMBER_CHANED , DIAL_INDEX_CHANGED , LOCKED , UNLOCKED , COUNT } |
Variables | |
| int | m_Combination |
| int | m_CombinationLocked |
| int | m_DialIndex |
| bool | m_IsInitialized |
| bool | m_IsLocked |
| LockAction | m_LockActionPerformed = LockAction.NONE |
| enum LockAction | m_LockDigits |
| EffectSound | m_Sound |
| const string | SOUND_LOCK_CHANGE_DIAL = "combinationlock_changedial_SoundSet" |
| const string | SOUND_LOCK_CHANGE_NUMBER = "combinationlock_changenumber_SoundSet" |
| const string | SOUND_LOCK_CLOSE = "combinationlock_close_SoundSet" |
| const string | SOUND_LOCK_OPEN = "combinationlock_open_SoundSet" |
| enum LockAction |
| Enumerator | |
|---|---|
| NONE | |
| DIAL_NUMBER_CHANED | |
| DIAL_INDEX_CHANGED | |
| LOCKED | |
| UNLOCKED | |
| COUNT | |
Definition at line 1 of file combinationlock.c.
|
protected |
Definition at line 132 of file combinationlock.c.
References g_Game, LockServer(), and Synchronize().
|
protected |
Definition at line 370 of file combinationlock.c.
References m_Combination, m_CombinationLocked, and m_IsLocked.
Referenced by DialNextNumber(), LockServer(), and UnlockServer().
|
protected |
Definition at line 33 of file combinationlock.c.
References m_LockDigits, Math::Pow(), and CombinationLock::SetBaseLockValues().
|
protected |
Definition at line 401 of file combinationlock.c.
References g_Game.
|
protected |
Definition at line 202 of file combinationlock.c.
References CheckLockedStateServer(), string::Get(), string::Length(), m_Combination, m_DialIndex, m_LockActionPerformed, m_LockDigits, SetCombination(), Synchronize(), and string::ToInt().
|
protected |
Definition at line 54 of file combinationlock.c.
References CALL_CATEGORY_GAMEPLAY, g_Game, SetInitialized(), and UpdateVisuals().
|
protected |
Definition at line 191 of file combinationlock.c.
References m_Combination.
|
protected |
Definition at line 242 of file combinationlock.c.
References m_DialIndex.
|
protected |
Definition at line 196 of file combinationlock.c.
References m_LockDigits.
|
protected |
Definition at line 471 of file combinationlock.c.
Referenced by UpdateVisuals().
|
protected |
Definition at line 457 of file combinationlock.c.
Referenced by UpdateVisuals().
|
protected |
Definition at line 70 of file combinationlock.c.
References m_IsInitialized.
Referenced by ItemBase::EEItemAttached(), OnItemLocationChanged(), GeyserTrigger::OnVariablesSynchronized(), OnVariablesSynchronized(), and ItemBase::OnWorkStart().
|
protected |
Definition at line 389 of file combinationlock.c.
Referenced by LockServer(), and UnlockServer().
|
protected |
Definition at line 365 of file combinationlock.c.
References m_IsLocked.
|
protected |
Definition at line 375 of file combinationlock.c.
References IsLocked().
Referenced by UpdateVisuals().
Definition at line 272 of file combinationlock.c.
References bsbDebugPrint(), CheckLockedStateServer(), InventoryLocation::GetSlot(), LogManager::IsBaseBuildingLogEnable(), IsLockAttached(), m_Combination, m_CombinationLocked, m_LockActionPerformed, SetCombinationLocked(), SetTakeable(), ShuffleLock(), and Synchronize().
Referenced by AfterStoreLoad(), and OnItemLocationChanged().
Definition at line 75 of file combinationlock.c.
References g_Game, IsInitialized(), and LockServer().
|
protected |
Definition at line 99 of file combinationlock.c.
References m_Combination, m_CombinationLocked, and Serializer::Read().
|
protected |
Definition at line 90 of file combinationlock.c.
References m_Combination, m_CombinationLocked, and Serializer::Write().
|
protected |
Definition at line 168 of file combinationlock.c.
References bsbDebugPrint(), LogManager::IsBaseBuildingLogEnable(), m_Combination, m_CombinationLocked, m_LockActionPerformed, UpdateSound(), and UpdateVisuals().
|
protected |
Definition at line 163 of file combinationlock.c.
References m_LockActionPerformed.
Referenced by Synchronize().
|
protected |
Definition at line 502 of file combinationlock.c.
References ActionDialCombinationLock(), ActionDialCombinationLockOnTarget(), and AddAction().
|
protected |
Definition at line 45 of file combinationlock.c.
References m_Combination, m_CombinationLocked, m_IsLocked, and m_LockDigits.
|
protected |
Definition at line 181 of file combinationlock.c.
References m_Combination.
Referenced by DialNextNumber(), and ShuffleLock().
|
protected |
Definition at line 186 of file combinationlock.c.
References m_CombinationLocked.
Referenced by LockServer().
|
protected |
Definition at line 65 of file combinationlock.c.
References m_IsInitialized.
Referenced by EEInit().
|
protected |
Definition at line 247 of file combinationlock.c.
References m_DialIndex, m_LockActionPerformed, m_LockDigits, and Synchronize().
|
protected |
Definition at line 464 of file combinationlock.c.
Referenced by UpdateVisuals().
|
protected |
Definition at line 450 of file combinationlock.c.
Referenced by UpdateVisuals().
|
protected |
Definition at line 342 of file combinationlock.c.
References string::Get(), string::Length(), m_Combination, m_LockDigits, Math::RandomInt(), SetCombination(), and string::ToInt().
Referenced by LockServer().
|
protected |
Definition at line 497 of file combinationlock.c.
References m_Sound, and SOUND_LOCK_CHANGE_DIAL.
Referenced by UpdateSound().
|
protected |
Definition at line 492 of file combinationlock.c.
References m_Sound, and SOUND_LOCK_CHANGE_NUMBER.
Referenced by UpdateSound().
|
protected |
Definition at line 487 of file combinationlock.c.
References m_Sound, and SOUND_LOCK_CLOSE.
Referenced by UpdateSound().
|
protected |
Definition at line 482 of file combinationlock.c.
References m_Sound, and SOUND_LOCK_OPEN.
Referenced by UpdateSound().
|
protected |
Definition at line 151 of file combinationlock.c.
References bsbDebugPrint(), CALL_CATEGORY_SYSTEM, g_Game, LogManager::IsBaseBuildingLogEnable(), m_Combination, m_CombinationLocked, ResetActionVar(), and UpdateVisuals().
Referenced by AfterStoreLoad(), CheckValue(), DialNextNumber(), Car::EEItemAttached(), Car::EEItemDetached(), Weapon::FillChamber(), Weapon::FillInnerMagazine(), Heating(), LockServer(), RefreshAudioVisualsOnClient(), RemoveAudioVisualsOnClient(), SetFireState(), SetNextDial(), SetOvenState(), SetStoneCircleState(), Weapon::SpawnAttachedMagazine(), StartFire(), StopFire(), and UnlockServer().
Definition at line 299 of file combinationlock.c.
References bsbDebugPrint(), CheckLockedStateServer(), g_Game, InventoryLocation::GetSlot(), LogManager::IsBaseBuildingLogEnable(), IsLockAttached(), EntityAI::LocalDropEntity(), m_Combination, m_CombinationLocked, m_LockActionPerformed, EntityAI::ServerDropEntity(), SetPosition(), SetTakeable(), and Synchronize().
|
protected |
Definition at line 422 of file combinationlock.c.
References m_LockActionPerformed, SoundLockChangeDial(), SoundLockChangeNumber(), SoundLockClose(), and SoundLockOpen().
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 407 of file combinationlock.c.
References CALL_CATEGORY_GAMEPLAY, g_Game, HideAttached(), HideItem(), IsLockedOnGate(), ShowAttached(), and ShowItem().
| int m_Combination |
Definition at line 15 of file combinationlock.c.
Referenced by CheckLockedStateServer(), DialNextNumber(), GetCombination(), LockServer(), OnStoreLoad(), OnStoreSave(), OnVariablesSynchronized(), CombinationLock::SetBaseLockValues(), SetBaseLockValues(), SetCombination(), ShuffleLock(), Synchronize(), and UnlockServer().
| int m_CombinationLocked |
Definition at line 16 of file combinationlock.c.
Referenced by CheckLockedStateServer(), LockServer(), OnStoreLoad(), OnStoreSave(), OnVariablesSynchronized(), CombinationLock::SetBaseLockValues(), SetBaseLockValues(), SetCombinationLocked(), Synchronize(), and UnlockServer().
| int m_DialIndex |
Definition at line 17 of file combinationlock.c.
Referenced by DialNextNumber(), GetDialIndex(), and SetNextDial().
|
protected |
Definition at line 22 of file combinationlock.c.
Referenced by IsInitialized(), and SetInitialized().
|
protected |
Definition at line 18 of file combinationlock.c.
|
protected |
Definition at line 20 of file combinationlock.c.
Referenced by DialNextNumber(), LockServer(), OnVariablesSynchronized(), ResetActionVar(), SetNextDial(), UnlockServer(), and UpdateSound().
| enum LockAction m_LockDigits |
|
protected |
Definition at line 31 of file combinationlock.c.
|
protected |
Definition at line 29 of file combinationlock.c.
Referenced by SoundLockChangeDial().
|
protected |
Definition at line 28 of file combinationlock.c.
Referenced by SoundLockChangeNumber().
|
protected |
Definition at line 27 of file combinationlock.c.
Referenced by SoundLockClose().
|
protected |
Definition at line 26 of file combinationlock.c.
Referenced by SoundLockOpen().