class DigitalCodeLockUI
DigitalCodeLockUI › DigitalCodeLockUIBase › UIScriptedMenu › UIMenuPanel › Managed
Full hierarchyFull members 130
- Managed
- UIMenuPanel
- UIScriptedMenu
- DigitalCodeLockUIBase
- DigitalCodeLockUI
- DigitalCodeLockUIBase
- UIScriptedMenu
- UIMenuPanel
Constructors 2
void DigitalCodeLockUI()References map.Insert(), KEY_DIGIT_0, KEY_DIGIT_1
Show 11 more
, KEY_DIGIT_2, KEY_DIGIT_3, KEY_DIGIT_4, KEY_DIGIT_5, KEY_DIGIT_6, KEY_DIGIT_7, KEY_DIGIT_8, KEY_DIGIT_9, KEY_DIGIT_CLEAR, KEY_DIGIT_CONFIRM, and m_KeyCodeMapvoid ~DigitalCodeLockUI()Constants 23
private const int MOVE_LEFT = 0Referenced by CheckControllerInputs()
private const int MOVE_RIGHT = 1Referenced by CheckControllerInputs()
private const int MOVE_UP = 2Referenced by CheckControllerInputs()
private const int MOVE_DOWN = 3Referenced by CheckControllerInputs()
private const float BT_REPEAT_DELAY = 0.35Delay from first press to begin tick repeat state
Referenced by ControllerMovementButtonTickHandler()
private const float BT_REPEAT_TIME = 0.09Tick repeat frequency time
Referenced by ControllerMovementButtonTickHandler()
private const float BT_THRESHOLD_VALUE = 0.8Threshold values for analog inputs
Referenced by ControllerMovementButtonTickHandler()
private const int MIN_LOCK_PIN_LENGTH = 4Referenced by ConfirmCode()
private const int MAX_LOCK_PIN_LENGTH = 6private const int KEY_DIGIT_1 = 0!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_2 = 1!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_3 = 2!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_4 = 3!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_5 = 4!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_6 = 5!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_7 = 6!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_8 = 7!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_9 = 8!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_CLEAR = 9!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_0 = 10!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
private const int KEY_DIGIT_CONFIRM = 11!PLATFORM_CONSOLEReferenced by DigitalCodeLockUI()
Members 18
protected ref map<KeyCode, int> m_KeyCodeMap!PLATFORM_CONSOLEprivate ref array<string> m_InvInputNames = {"UAUILeftInventory","UAUIRightInventory","UAUIUpInventory","UAUIDownInventory"}Referenced by InitInputWrapperData()
private ref array<UAIDWrapper> m_InvInputWrappersprivate int m_InvInputWrappersCountprivate float m_SensitivityThreshold = 0.0Referenced by ControllerMovementButtonTickHandler()
private UAInput m_InvUAInputReferenced by ControllerMovementButtonTickHandler()
private int m_InvInputActive = 0private ref array<ButtonWidget> m_NumButtonsReferenced by InitializeButtons(), OnClick(), OnInputDeviceChanged()
Show 3 more
, OnShow(), Select(), and UpdateFocus()private int m_SelectedButtonIndex = 0Default to button "5" (index 4)
Referenced by KeyPress(), NavigateDown(), NavigateLeft()
Show 6 more
, NavigateRight(), NavigateUp(), OnClick(), Select(), SetActive(), and UpdateFocus()protected bool m_IsActive = falseReferenced by SetActive()
private string m_EnteredPINprivate EntityAI m_TargetLockReferenced by ~DigitalCodeLockUI(), ConfirmCode(), Select()
Show 2 more
, SetTargetLock(), and Update()private vector m_TargetPositionprivate bool m_HasPIN = falseprotected Widget m_ConsoleToolbarprotected RichTextWidget m_ConsoleToolbarRichTextMethods 24
void InitInputWrapperData()Referenced by Init()
override void SetTargetLock(CodeLockComponent lock)References ErrorEx(), CodeLockComponent.GetParent(), CodeLockComponent.GetPosition()
Show 4 more
, CodeLockComponent.HasPIN(), m_HasPIN, m_TargetLock, and m_TargetPositionoverride Widget Init()void InitializeButtons()References Class.Cast(), Widget.FindAnyWidget(), array.Insert()
Show 2 more
, UIScriptedMenu.layoutRoot, and m_NumButtonsReferenced by Init()
protected void ClearInput()References Class.Cast(), Widget.FindAnyWidget(), TextWidget.SetText()
Show 3 more
, UIScriptedMenu.layoutRoot, m_EnteredPIN, and MAX_LOCK_PIN_LENGTHprotected void Select()References Class.Cast(), ClearInput(), ConfirmCode()
Show 17 more
, array.Count(), ErrorEx(), Widget.FindAnyWidget(), string.Length(), string.Length(), CGame.RPCSingleParam(), TextWidget.SetText(), int.ToString(), CONFIRM_BUTTON_INDEX, UIScriptedMenu.layoutRoot, m_EnteredPIN, m_NumButtons, m_SelectedButtonIndex, m_TargetLock, MAX_LOCK_PIN_LENGTH, Param1.param1, and RESET_BUTTON_INDEXprotected void ConfirmCode()override void CodeResponse(bool response)protected void ControllerMovementButtonTickHandler(float timeslice)Referenced by CheckControllerInputs()
override void Update(float timeslice)References ClearInput(), ConfirmCode(), ControllerMovementButtonTickHandler()
Show 10 more
, Input.LocalPress(), NavigateDown(), NavigateLeft(), NavigateRight(), NavigateUp(), m_InvInputActive, MOVE_DOWN, MOVE_LEFT, MOVE_RIGHT, and MOVE_UPReferenced by Update()
protected void UpdateFocus()void SetActive(bool active)protected void UpdateConsoleToolbar()References string.Format(), InputUtils.GetRichtextButtonIconFromInputAction(), TextWidget.SetText()
Show 2 more
, InputUtils.ICON_SCALE_TOOLBAR, and m_ConsoleToolbarRichTextReferenced by OnInputDeviceChanged()
protected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)Referenced by OnShow()
override void OnShow()override void OnHide()References array.Count(), UIScriptedMenu.OnClick(), Select()
Show 2 more
, m_NumButtons, and m_SelectedButtonIndexoverride void KeyPress(int key)!PLATFORM_CONSOLEReferences map.Find(), DigitalCodeLockUIBase.KeyPress(), Select()