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

См. исходные тексты.

Структуры данных

class  DigitalCodeLock
 

Функции

DigitalCodeLock ItemBase Init ()
 single position related to each particular attachment group
 
void DigitalCodeLock ()
 
override void EEInit ()
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 overrides the base behavior - intentional
 
override bool CanDetachAttachment (EntityAI parent)
 
void SetDoorInfoFromSlot (BuildingBase buildingBase, string slotName)
 
bool CanDetachCodeLock (notnull PlayerBase player, int componentIndex)
 Condition check called from ActionTakeItem and ActionTakeItemToHands.
 
override void OnWorkStop ()
 
override void OnWorkStart ()
 
override void OnWork (float consumed_energy)
 
void UnlockOnServer (EntityAI parent)
 Unlock AND drop.
 
Battery9V GetBattery ()
 
bool CanBeLocked ()
 
bool CanBeUnlocked ()
 
bool CanSetCode ()
 
bool HasBattery ()
 
bool NeedBattery ()
 
bool HasEnergy ()
 
bool HasPIN ()
 
string GetInputPIN ()
 
string GetLockPIN ()
 
void ResetPIN ()
 
void SetLockState (bool state)
 
CodeLockComponent GetCodeLockComponent ()
 
bool IsLocked ()
 
CodeLockStage GetStage ()
 
bool HasBruteForceProtection ()
 
bool ShouldHandleBruteForce ()
 
int GetWrongCodeCount ()
 
int GetMinLockPINLength ()
 
bool GetReversedState ()
 
bool IsPlayerOnBackside (PlayerBase player)
 
bool HasValidParent ()
 
CodeLockVisualManager GetVisualManager ()
 
float GetBatteryEnergy ()
 
void UpdateVisuals ()
 
void ForceFullVisualsUpdate ()
 
override void SetActions ()
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
override void OnVariablesSynchronized ()
 
override bool IsExternalLockType ()
 
override void InitItemSounds ()
 
override void OnDebugSpawn ()
 
override bool ShowZonesHealth ()
 
bool SetLockCode (string pin)
 
void Disable ()
 

Переменные

const string MEMPOINT_INSIDE = "inside"
 
const string MEMPOINT_CENTER = "ce_center"
 
const string ATTACHMENT_SLOT_BATTERY = "BatteryD"
 
const string SELECTION_NAME_BACK = "back"
 
ref CodeLockComponent m_CodeLockComponent
 
ref CodeLockVisualManager m_VisualManager
 
bool m_Reversed = false
 
const string CODELOCK_ACCESS_SOUND = "digitalLock_beep_Access_SoundSet"
 
const string CODELOCK_LOCK_SOUND = "digitalLock_mechanism_Lock_SoundSet"
 
const string CODELOCK_UNLOCK_SOUND = "digitalLock_mechanism_Unlock_SoundSet"
 
const string CODELOCK_ERROR_SOUND = "digitalLock_beep_Error_SoundSet"
 
const string CODELOCK_DIGITS_SOUND = "digitalLock_buttons_Digits_SoundSet"
 
const string CODELOCK_CLEAR_SOUND = "digitalLock_button_Clear_SoundSet"
 
const string CODELOCK_CONFIRM_SOUND = "digitalLock_button_Key_confirm_SoundSet"