DIFF

class CombinationLockSource

CombinationLock4 CombinationLock ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

Constants 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"
const string SOUND_LOCK_CHANGE_DIAL = "combinationlock_changedial_SoundSet"
Referenced by SoundLockChangeDial()

Members 8

int m_LockDigits

how many digits will the combination contain

int m_CombinationLocked

combination that was dialed on lock before the shuffle

int m_DialIndex

index of current combination dial

protected bool m_IsLocked
protected LockAction m_LockActionPerformed = LockAction.NONE
protected bool m_IsInitialized
protected EffectSound m_Sound

Methods 37

protected void SetBaseLockValues()
References m_Combination, m_CombinationLocked, m_IsLocked
Show 1 more, m_LockDigits
Referenced by CombinationLock()
override void EEInit()
void SetInitialized()
References m_IsInitialized
override bool IsInitialized()
References m_IsInitialized
override void OnItemLocationChanged(EntityAI old_owner, EntityAI new_owner)
override void OnStoreSave(ParamsWriteContext ctx)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override void AfterStoreLoad()
void ResetActionVar()
void SetCombination(int combination)
References m_Combination
Referenced by DialNextNumber(), and ShuffleLock()
void SetCombinationLocked(int combination)
Referenced by LockServer()
int GetCombination()
References m_Combination
int GetLockDigits()
References m_LockDigits
int GetDialIndex()
References m_DialIndex
bool IsLocked()
References m_IsLocked
void CheckLockedStateServer()
bool IsLockAttached()
Referenced by LockServer(), and UnlockServer()
void DestroyLock()
protected void ShowItem()
protected void HideItem()
protected void ShowAttached()
protected void HideAttached()
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()