DIFF

class ScriptConsole

ScriptConsole › UIScriptedMenu › UIMenuPanel › Managed

Constructors 2

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"
Referenced by GetData(), and SaveData()
const string NO_HINT_TEXT = "No hint"
Referenced by GetMessage(), and Update()

Members 30

protected Widget m_CurrentHoverWidget
Referenced by GetMessage(), OnClick(), OnMouseEnter()
Show 1 more, Update()
protected Widget m_HintWidgetRoot
Referenced by ~ScriptConsole(), DisplayHint(), HideHint()
Show 1 more, Update()
protected ImageWidget m_HintWidgetBackground
Referenced by DisplayHint()
protected Widget m_EditTooltipRoot
Referenced by Init(), OnClick(), OnMouseEnter()
Show 2 more, OnMouseLeave(), and Update()
protected RichTextWidget m_HintWidget
Referenced by DisplayHint()
protected ButtonWidget m_HintOkButton
Referenced by Init(), and OnClick()
protected ButtonWidget m_HintCancelButton
Referenced by Init(), and OnClick()
protected ButtonWidget m_HintClearButton
Referenced by Init(), and OnClick()
protected EditBoxWidget m_HintInputText
Referenced by Init(), OnClick(), and Update()
protected Widget m_HeaderPanelPC
Referenced by Init(), and OnInputDeviceChanged()
protected GridSpacerWidget m_ButtonsMenu
Referenced by Init(), OnInputDeviceChanged(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected ButtonWidget m_CloseConsoleButton
Referenced by Init(), and OnClick()
protected GridSpacerWidget m_ContextMenuGrid
Referenced by Init(), OnMouseEnter(), OnMouseLeave()
Show 1 more, RegisterContextMenuElement()
protected ButtonWidget m_ContextMenuButton
Referenced by Init(), IsContextElementButton(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected TextWidget m_ContectMenuButtonLabel
protected Widget m_HeaderPanelConsolePLATFORM_CONSOLE
Referenced by Init(), and OnInputDeviceChanged()
protected GridSpacerWidget m_ConsoleButtonsMenuGridPLATFORM_CONSOLE
protected bool m_HintEditMode
Referenced by HoverInterrupt()
protected float m_HoverTime
Referenced by HoverInterrupt(), and Update()
protected bool m_HoverSuccessTriggered
protected float m_PrevMouseX
Referenced by Update()
protected float m_PrevMouseY
Referenced by Update()
protected int m_SelectedTab = ScriptConsoleTabID.GENERAL
Referenced by Init(), and Update()
static ref array<ref MapMarker> m_MarkedEntities = new array<ref MapMarker>()
protected 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_JsonData
Referenced by GetMessage(), Init(), SaveData()
Show 1 more, SetHintText()
protected ref map<int, ref ScriptConsoleMenuElement> m_ContextMenuElements = new map<int, ref ScriptConsoleMenuElement>()
protected EInputDeviceType m_CurrentInputDevice
PluginConfigDebugProfile m_ConfigDebugProfile
Referenced by Init(), and SelectTab()

Methods 36

static void SaveData()
Referenced by OnClick()
protected static JsonHintsData GetData()
Referenced by Init()
void SetHintText(string text, Widget w)
Referenced by OnClick()
void RegisterTab(int id, ScriptConsoleTabBase handler)
Referenced by SelectTabByID()
protected void HideHint()
Referenced by HoverInterrupt()
int GetWidgetCombinedHash(Widget w)
Referenced by GetMessage(), and SetHintText()
protected void HoverSuccess()
Referenced by Update()
protected void HoverInterrupt()
References HideHint(), m_HintEditMode, m_HoverSuccessTriggered
Show 1 more, m_HoverTime
Referenced by OnClick(), OnHide(), OnMouseLeave()
Show 2 more, SetHintText(), and Update()
override void OnHide()
override bool OnChange(Widget w, int x, int y, bool finished)
override bool OnItemSelected(Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
ButtonWidget GetContextElementButton(int tabID)
Referenced by SelectTabByID()
void ShowMenuBackground(bool state)
Referenced by SelectTab()
protected bool IsChildOfWidget(Widget child, Widget parent)
Referenced by OnMouseEnter(), and OnMouseLeave()