class CombinationLockSource
CombinationLock4 › CombinationLock › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 1
void CombinationLock()References Math.Pow(), EntityAI.RegisterNetSyncVariableBool(), EntityAI.RegisterNetSyncVariableInt()
Show 2 more
, SetBaseLockValues(), and m_LockDigitsConstants 4
const string SOUND_LOCK_OPEN = "combinationlock_open_SoundSet"Referenced by SoundLockOpen()
const string SOUND_LOCK_CLOSE = "combinationlock_close_SoundSet"Referenced by SoundLockClose()
const string SOUND_LOCK_CHANGE_NUMBER = "combinationlock_changenumber_SoundSet"Referenced by SoundLockChangeNumber()
const string SOUND_LOCK_CHANGE_DIAL = "combinationlock_changedial_SoundSet"Referenced by SoundLockChangeDial()
Members 8
int m_LockDigitshow many digits will the combination contain
Referenced by CombinationLock(), DialNextNumber(), GetLockDigits()
Show 4 more
, SetBaseLockValues(), SetNextDial(), ShuffleLock(), and CombinationLock4.SetBaseLockValues()int m_Combinationactual combination that is dialed on lock
int m_CombinationLockedcombination that was dialed on lock before the shuffle
int m_DialIndexindex of current combination dial
protected bool m_IsLockedReferenced by CheckLockedStateServer(), IsLocked(), SetBaseLockValues()
Show 1 more
, CombinationLock4.SetBaseLockValues()protected LockAction m_LockActionPerformed = LockAction.NONEReferenced by DialNextNumber(), LockServer(), OnVariablesSynchronized()
Show 4 more
, ResetActionVar(), SetNextDial(), UnlockServer(), and UpdateSound()protected bool m_IsInitializedprotected EffectSound m_SoundReferenced by SoundLockChangeDial(), SoundLockChangeNumber(), SoundLockClose()
Show 1 more
, SoundLockOpen()Methods 37
protected void SetBaseLockValues()Referenced by CombinationLock()
override void EEInit()References ScriptCallQueue.CallLater(), EntityAI.EEInit(), DayZGame.GetCallQueue()
Show 1 more
, UpdateVisuals()void SetInitialized()References m_IsInitialized
References Class.IsInherited(), IsInitialized(), CGame.IsServer()
Show 2 more
, LockServer(), and ItemBase.OnItemLocationChanged()override void OnStoreSave(ParamsWriteContext ctx)References ItemBase.OnStoreSave(), Serializer.Write(), m_Combination
Show 1 more
, m_CombinationLockedoverride bool OnStoreLoad(ParamsReadContext ctx, int version)References ItemBase.OnStoreLoad(), Serializer.Read(), m_Combination
Show 1 more
, m_CombinationLockedoverride void AfterStoreLoad()References ItemBase.AfterStoreLoad(), EntityAI.GetHierarchyParent(), Class.IsInherited()
Show 3 more
, CGame.IsServer(), LockServer(), and Synchronize()void Synchronize()Referenced by AfterStoreLoad(), DialNextNumber(), LockServer()
Show 2 more
, SetNextDial(), and UnlockServer()void ResetActionVar()References m_LockActionPerformed
override void OnVariablesSynchronized()void SetCombination(int combination)References m_Combination
int GetCombination()References m_Combination
Referenced by ConstructionActionData.GetDialNumberText()
void DialNextNumber()References CheckLockedStateServer(), string.Get(), string.Length()
Show 10 more
, SetCombination(), Synchronize(), string.ToInt(), string.ToInt(), int.ToString(), int.ToString(), m_Combination, m_DialIndex, m_LockActionPerformed, and m_LockDigitsvoid SetNextDial()References bsbDebugPrint(), CheckLockedStateServer(), GameInventory.GetCurrentInventoryLocation()
Show 13 more
, EntityAI.GetInventory(), EntityAI.GetInventory(), InventoryLocation.GetSlot(), LogManager.IsBaseBuildingLogEnable(), IsLockAttached(), SetCombinationLocked(), GameInventory.SetSlotLock(), ItemBase.SetTakeable(), ShuffleLock(), Synchronize(), m_Combination, m_CombinationLocked, and m_LockActionPerformedReferences bsbDebugPrint(), Class.Cast(), CheckLockedStateServer()
Show 20 more
, GameInventory.DropEntity(), GameInventory.GetCurrentInventoryLocation(), EntityAI.GetInventory(), EntityAI.GetInventory(), EntityAI.GetInventory(), Fence.GetKitSpawnPosition(), InventoryLocation.GetSlot(), LogManager.IsBaseBuildingLogEnable(), IsLockAttached(), CGame.IsMultiplayer(), EntityAI.LocalDropEntity(), Object.PlaceOnSurface(), EntityAI.ServerDropEntity(), Object.SetPosition(), GameInventory.SetSlotLock(), ItemBase.SetTakeable(), Synchronize(), m_Combination, m_CombinationLocked, and m_LockActionPerformedvoid ShuffleLock()References string.Get(), string.Length(), Math.RandomInt()
Show 7 more
, SetCombination(), string.ToInt(), string.ToInt(), int.ToString(), int.ToString(), m_Combination, and m_LockDigitsReferenced by LockServer()
void CheckLockedStateServer()bool IsLockedOnGate()bool IsLockAttached()void DestroyLock()References CGame.ObjectDelete()
void UpdateVisuals()void UpdateSound()References SoundLockChangeDial(), SoundLockChangeNumber(), SoundLockClose()
Show 2 more
, SoundLockOpen(), and m_LockActionPerformedReferenced by OnVariablesSynchronized()
protected void ShowItem()References Entity.SetAnimationPhase()
protected void HideItem()References Entity.SetAnimationPhase()
protected void ShowAttached()References Entity.SetAnimationPhase()
protected void HideAttached()References Entity.SetAnimationPhase()
protected void SoundLockOpen()Referenced by UpdateSound()
protected void SoundLockClose()Referenced by UpdateSound()
void SoundLockChangeNumber()Referenced by UpdateSound()
void SoundLockChangeDial()Referenced by UpdateSound()
override void SetActions()