class ScriptConsole
ScriptConsole › UIScriptedMenu › UIMenuPanel › Managed
Constructors 2
void ScriptConsole()void ~ScriptConsole()Constants 3
protected static const string HINTS_PATH_DEFAULT = "scripts/data/internal/script_console_hints.json"Referenced by GetData()
protected static const string HINTS_PATH_OPTIONAL = "$mission:script_console_hints.json"const string NO_HINT_TEXT = "No hint"Members 30
protected Widget m_CurrentHoverWidgetprotected Widget m_HintWidgetRootprotected ImageWidget m_HintWidgetBackgroundReferenced by DisplayHint()
protected Widget m_EditTooltipRootprotected RichTextWidget m_HintWidgetReferenced by DisplayHint()
protected ButtonWidget m_HintOkButtonprotected ButtonWidget m_HintCancelButtonprotected ButtonWidget m_HintClearButtonprotected EditBoxWidget m_HintInputTextprotected Widget m_HeaderPanelPCprotected GridSpacerWidget m_ButtonsMenuprotected ButtonWidget m_CloseConsoleButtonprotected GridSpacerWidget m_ContextMenuGridprotected ButtonWidget m_ContextMenuButtonprotected TextWidget m_ContectMenuButtonLabelprotected Widget m_HeaderPanelConsolePLATFORM_CONSOLEprotected GridSpacerWidget m_ConsoleButtonsMenuGridPLATFORM_CONSOLEprotected bool m_HintEditModeReferenced by HoverInterrupt()
protected float m_HoverTimeprotected bool m_HoverSuccessTriggeredScriptConsoleTabBase m_SelectedHandlerprotected ref map<int, ref ScriptConsoleTabBase> m_TabHandlersByID = new map<int, ref ScriptConsoleTabBase>()Referenced by GetTabHandler(), OnRPCEx(), RegisterTab()
Show 3 more
, SelectTab(), SelectTabByID(), and Update()static ref JsonHintsData m_JsonDataprotected ref map<int, ref ScriptConsoleMenuElement> m_ContextMenuElements = new map<int, ref ScriptConsoleMenuElement>()Referenced by BuildContextMenu(), GetContextElementButton(), HideContextSubElements()
Show 3 more
, IsContextElementButton(), RegisterContextMenuElement(), and SelectTabByID()protected EInputDeviceType m_CurrentInputDevicePluginConfigDebugProfile m_ConfigDebugProfileMethods 36
ScriptConsoleTabBase GetSelectedHandler()References m_SelectedHandler
static void SaveData()Referenced by OnClick()
protected static JsonHintsData GetData()References ErrorEx(), FileExist(), JsonFileLoader.LoadFile()
Show 2 more
, HINTS_PATH_DEFAULT, and HINTS_PATH_OPTIONALReferenced by Init()
References GetWidgetCombinedHash(), HoverInterrupt(), map.Set()
Show 2 more
, m_JsonData, and JsonHintsData.WidgetHintBindingsReferenced by OnClick()
void RegisterTab(int id, ScriptConsoleTabBase handler)Referenced by SelectTabByID()
override Widget Init()References BuildContextMenu(), Class.Cast(), Class.Cast()
Show 38 more
, Class.Cast(), Class.Cast(), Class.Cast(), WorkspaceWidget.CreateWidgets(), Widget.FindAnyWidget(), Widget.FindAnyWidget(), Input.GetCurrentInputDevice(), GetData(), CGame.GetInput(), CGame.GetMission(), Mission.GetOnInputDeviceChanged(), GetPlugin(), PluginConfigDebugProfile.GetTabSelected(), CGame.GetWorkspace(), ScriptInvoker.Insert(), OnInputDeviceChanged(), SelectTabByID(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), UIScriptedMenu.layoutRoot, m_ButtonsMenu, m_CloseConsoleButton, m_ConfigDebugProfile, m_ConsoleButtonsMenuGrid, m_ContectMenuButtonLabel, m_ContextMenuButton, m_ContextMenuGrid, m_EditTooltipRoot, m_HeaderPanelConsole, m_HeaderPanelPC, m_HintCancelButton, m_HintClearButton, m_HintInputText, m_HintOkButton, m_JsonData, and m_SelectedTabprotected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)PLATFORM_CONSOLEReferenced by Init()
protected void BuildContextMenu()Referenced by BuildContextMenu()
protected void HideContextSubElements()protected void HideHint()Referenced by HoverInterrupt()
protected string GetMessage()References map.Contains(), map.Get(), GetWidgetCombinedHash()
Show 4 more
, m_CurrentHoverWidget, m_JsonData, NO_HINT_TEXT, and JsonHintsData.WidgetHintBindingsprotected void HoverSuccess()Referenced by Update()
protected void HoverInterrupt()override void OnShow()References Mission.AddActiveInputExcludes(), Class.Cast(), CGame.GetMission()
Show 3 more
, UIScriptedMenu.OnShow(), array.Remove(), and m_SelectedHandleroverride void OnHide()override void Update(float timeslice)References Math.AbsFloat(), UIManager.Back(), ClearKey()
Show 29 more
, UAInputAPI.GetInputByID(), GetMessage(), GetMousePos(), GetUApi(), CGame.GetUIManager(), HoverInterrupt(), HoverSuccess(), CGame.IsMultiplayer(), ScriptConsoleTabBase.IsSelected(), Widget.IsVisible(), KeyState(), UAInput.LocalPress(), SelectTabByID(), EditBoxWidget.SetText(), Widget.Show(), Math.Sqrt(), ScriptConsoleTabBase.Update(), UIScriptedMenu.Update(), m_CurrentHoverWidget, m_EditTooltipRoot, m_HintInputText, m_HintWidgetRoot, m_HoverSuccessTriggered, m_HoverTime, m_PrevMouseX, m_PrevMouseY, m_SelectedTab, m_TabHandlersByID, and NO_HINT_TEXTReferences UIMenuPanel.Close(), Mission.EnableAllInputs(), CGame.GetMission()
Show 16 more
, EditBoxWidget.GetText(), HoverInterrupt(), ScriptConsoleTabBase.OnClick(), UIScriptedMenu.OnClick(), SaveData(), SetHintText(), EditBoxWidget.SetText(), Widget.Show(), m_CloseConsoleButton, m_CurrentHoverWidget, m_EditTooltipRoot, m_HintCancelButton, m_HintClearButton, m_HintInputText, m_HintOkButton, and m_SelectedHandlerReferences ARGB(), HideContextSubElements(), HoverInterrupt()
Show 13 more
, IsChildOfWidget(), IsContextElementButton(), Widget.IsVisible(), ScriptConsoleTabBase.OnMouseLeave(), UIScriptedMenu.OnMouseLeave(), Widget.SetColor(), Widget.Show(), m_ButtonsMenu, m_ContectMenuButtonLabel, m_ContextMenuButton, m_ContextMenuGrid, m_EditTooltipRoot, and m_SelectedHandlerReferences ARGB(), HideContextSubElements(), IsChildOfWidget()
Show 13 more
, IsContextElementButton(), Widget.IsVisible(), ScriptConsoleTabBase.OnMouseEnter(), UIScriptedMenu.OnMouseEnter(), Widget.SetColor(), Widget.Show(), m_ButtonsMenu, m_ContectMenuButtonLabel, m_ContextMenuButton, m_ContextMenuGrid, m_CurrentHoverWidget, m_EditTooltipRoot, and m_SelectedHandlerScriptConsoleTabBase GetTabHandler(typename tabType)void SelectTabByID(int tabId)References Class.Cast(), ScriptConsoleMenuElement.Deselect(), Widget.FindAnyWidget()
Show 16 more
, map.Get(), ScriptConsoleTabRegistry.GetAll(), GetContextElementButton(), ScriptConsoleTabBase.InitializeTab(), RegisterTab(), ScriptConsoleMenuElement.Select(), SelectTab(), ScriptConsoleMenuElement.SetTextAlignment(), typename.Spawn(), UIScriptedMenu.layoutRoot, m_ContextMenuElements, m_CurrentInputDevice, ScriptConsoleTabRegistryEntry.m_ID, ScriptConsoleTabRegistryEntry.m_PanelWidgetName, ScriptConsoleTabRegistryEntry.m_TabClass, and m_TabHandlersByIDvoid SelectTab(ScriptConsoleTabBase selectedHandler)Referenced by SelectTabByID()
ButtonWidget GetContextElementButton(int tabID)Referenced by SelectTabByID()
void ShowMenuBackground(bool state)References ARGB(), Widget.FindAnyWidget(), UIScriptedMenu.GetLayoutRoot()
Show 1 more
, Widget.SetColor()Referenced by SelectTab()
protected void DisplayHint(string message)Referenced by HoverSuccess()
override void OnRPCEx(int rpc_type, ParamsReadContext ctx)