class TutorialsMenuSource
TutorialsMenu › UIScriptedMenu › UIMenuPanel › Managed
All members, including inherited
Constructors 2
void TutorialsMenu()void ~TutorialsMenu()Commented for now as there is no reason to show the tab with mouse and keyboard inputs on console platforms and we don't show the tab on PC or MSS version also If we ever decide to remap all PlayStation related input keys so we can localize them correctly we can reanable this tab and display the correct bindigs always.
References PPERequesterBank.GetRequester(), ScriptInvoker.Remove(), PPERequesterBase.Stop()
Show 2 more
, TabberUI.m_OnTabSwitch, and m_TabScriptConstants 16
protected const string PATH_MOUSEKEY = "scripts/data/pagedatatutorials.json"Referenced by GetControlMappingInfo()
protected const string PATH_MOUSEKEY_720P = "scripts/data/pagedatatutorials_720p.json"Referenced by GetControlMappingInfo()
protected const string PATH_X1_OLD = "xbox/pagedatatutorials.json"Referenced by GetControlMappingInfo()
protected const string PATH_X1_OLD_720P = "xbox/pagedatatutorials_720p.json"Referenced by GetControlMappingInfo()
protected const string PATH_X1_NEW = "xbox/pagedatatutorialsalternate.json"Referenced by GetControlMappingInfo()
protected const string PATH_X1_NEW_720p = "xbox/pagedatatutorialsalternate_720p.json"Referenced by GetControlMappingInfo()
protected const string PATH_PS_OLD = "ps4/pagedatatutorials.json"Referenced by GetControlMappingInfo()
protected const string PATH_PS_NEW = "ps4/pagedatatutorialsalternate.json"Referenced by GetControlMappingInfo()
protected const float MIN_LINE_SCALE = 1.0Referenced by GetTutorialLineScale()
protected const float MAX_LINE_SCALE = 1.5Referenced by GetTutorialLineScale()
protected const float WITDH_SCALE_RES = 1920.0Referenced by GetTutorialLineScale()
protected const float HEIGHT_SCALE_RES = 1080.0Referenced by GetTutorialLineScale()
protected const float LINE_THICKNESS_BASE = 2.0Referenced by GetTutorialLineThickness()
protected const float BRANCH_OFFSET_BASE = 50.0Referenced by GetTutorialBranchOffset()
protected const int EXACT_TEXT_SIZE_LOW_RES = 32Referenced by DrawConnectingLines()
protected const int TABS_COUNT = 4Members 10
protected string m_BackButtonTextIDprotected Widget m_InfoTextLeftprotected Widget m_InfoTextRightprotected ButtonWidget m_Backprotected ImageWidget m_ControlsLayoutImageprotected ImageWidget m_tab_images[TABS_COUNT]Referenced by Init()
protected TabberUI m_TabScriptprotected int m_CurrentTabIndex = 0protected Input m_InputReferenced by GetControlMappingInfo(), OnInputDeviceChanged(), OnShow()
Show 2 more
, TutorialsMenu(), and UpdateControlsElementVisibility()protected bool m_LowResTutorialModeMethods 29
override Widget Init()References Class.Cast(), Class.Cast(), WorkspaceWidget.CreateWidgets()
Show 23 more
, DrawConnectingLines(), Widget.FindAnyWidget(), CGame.GetMission(), Mission.GetOnInputDeviceChanged(), Mission.GetOnInputPresetChanged(), PPERequesterBank.GetRequester(), Widget.GetScript(), CGame.GetWorkspace(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), IsLowResTutorialMode(), PPERequesterBase.Start(), UpdateControlsElements(), UpdateControlsElementVisibility(), UIScriptedMenu.layoutRoot, m_Back, m_InfoTextLeft, m_InfoTextRight, m_LowResTutorialMode, TabberUI.m_OnTabSwitch, m_tab_images, and m_TabScriptprotected float GetTutorialLineScale()References Math.Clamp(), GetScreenSize(), Math.Max()
Show 4 more
, HEIGHT_SCALE_RES, MAX_LINE_SCALE, MIN_LINE_SCALE, and WITDH_SCALE_RESprotected float GetTutorialLineThickness()Referenced by DrawConnectingLines()
protected float GetTutorialBranchOffset()Referenced by DrawConnectingLines()
protected void OnInputPresetChanged()References RefreshControlMappings()
protected void RefreshControlMappings()References DrawConnectingLines(), UpdateControlsElements(), UpdateControlsElementVisibility()
Show 1 more
, m_CurrentTabIndexprotected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)References CGame.GetUIManager(), Input.IsEnabledMouseAndKeyboard(), Input.IsEnabledMouseAndKeyboardEvenOnServer()
Show 3 more
, RefreshControlMappings(), UIManager.ShowUICursor(), and m_InputReferenced by OnShow()
override void OnShow()References Input.GetCurrentInputDevice(), OnInputDeviceChanged(), UIScriptedMenu.OnShow()
Show 2 more
, SetFocus(), and m_Inputvoid Back()void DrawConnectingLines(int index)References ARGBF(), Class.Cast(), Class.Cast()
Show 47 more
, CanvasWidget.Clear(), Contains(), Contains(), Count(), Count(), Count(), array.Count(), array.Count(), Count(), CanvasWidget.DrawLine(), Widget.FindAnyWidget(), Widget.FindAnyWidget(), Get(), array.Get(), GetControlMappingInfo(), GetElement(), GetElement(), map.GetKey(), map.GetKey(), Widget.GetScreenPos(), Widget.GetScreenPos(), Widget.GetScreenSize(), Widget.GetScreenSize(), TabberUI.GetTabCount(), GetTutorialBranchOffset(), GetTutorialLineThickness(), Insert(), Insert(), Insert(), Insert(), Insert(), TextWidget.SetText(), TextWidget.SetTextExactSize(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Update(), EXACT_TEXT_SIZE_LOW_RES, UIScriptedMenu.layoutRoot, JsonControlMappingInfo.m_ButtonName, m_CurrentTabIndex, m_InfoTextLeft, m_InfoTextRight, m_LowResTutorialMode, JsonControlMappingInfo.m_TabID, m_TabScript, and JsonControlMappingInfo.m_TextWidgetIDprotected array<ref JsonControlMappingInfo> GetControlMappingInfo()References CloseFile(), ErrorEx(), FGets()
Show 16 more
, Input.GetCurrentInputDevice(), Input.GetCurrentProfile(), Input.GetProfileName(), new JsonSerializer(), OpenFile(), JsonSerializer.ReadFromString(), m_Input, m_LowResTutorialMode, PATH_MOUSEKEY, PATH_MOUSEKEY_720P, PATH_PS_NEW, PATH_PS_OLD, PATH_X1_NEW, PATH_X1_NEW_720p, PATH_X1_OLD, and PATH_X1_OLD_720PReferenced by DrawConnectingLines()
override void Update(float timeslice)PC variant (also used for MSS build when mouse and keyboard are then active input device).
References Back(), UAInputAPI.GetInputByID(), GetUApi()
Show 4 more
, UAInput.LocalPress(), TabberUI.NextTab(), TabberUI.PreviousTab(), and m_TabScriptprotected void LoadTextStrings()Set correct bottom button texts based on platform (ps4 vs xbox texts)
References m_BackButtonTextID
References m_Back
void ColorHighlight(Widget w)void ColorNormal(Widget w)References Class.Cast(), Widget.FindAnyWidget(), Widget.GetName()
Show 3 more
, Widget.SetColor(), Widget.SetColor(), and Widget.SetColor()protected void UpdateControlsElements()protected void UpdateControlsElementVisibility()References Widget.FindAnyWidget(), Input.GetCurrentInputDevice(), Input.IsEnabledMouseAndKeyboardEvenOnServer()