Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
scriptconsole.c
Go to the documentation of this file.
1 class ScriptConsole extends UIScriptedMenu
2 {
3  protected bool m_HintEditMode;
4  protected float m_HoverTime;
5  protected bool m_HoverSuccessTriggered;
7  protected Widget m_HintWidgetRoot;
8  protected ImageWidget m_HintWidgetBackground;
9  protected Widget m_EditTooltipRoot;
10  protected RichTextWidget m_HintWidget;
11  protected ButtonWidget m_HintOkButton;
12  protected ButtonWidget m_HintCancelButton;
13  protected ButtonWidget m_HintClearButton;
14  protected EditBoxWidget m_HintInputText;
15  protected float m_PrevMouseX;
16  protected float m_PrevMouseY;
17  Widget m_ButtonsWindowWidget;
18  ScriptConsoleTabBase m_SelectedHandler;
19  protected int m_Id;
20 
21  static ref array<ref MapMarker> m_MarkedEntities = new array<ref MapMarker>();
22  int m_SelectedTab;
24  protected ref map<int, ref ScriptConsoleTabBase> m_TabHandlersByID = new map<int, ref ScriptConsoleTabBase>;
25 
26  ButtonWidget m_CloseConsoleButton;
27 
28 
29  protected static const string HINTS_PATH_DEFAULT = "scripts/data/internal/script_console_hints.json";
30  protected static const string HINTS_PATH_OPTIONAL = "$mission:script_console_hints.json";
31 
32  static ref JsonHintsData m_JsonData;
33 
34  const string NO_HINT_TEXT = "No hint";
35 
36 
37  void ScriptConsole()
38  {
39  #ifndef SERVER
40  if (GetGame() && GetGame().GetMission() && GetGame().GetMission().GetHud())
41  {
42  GetGame().GetMission().GetHud().ShowHudPlayer(false);
43  GetGame().GetMission().GetHud().ShowQuickbarPlayer(false);
44  }
45  #endif
47  if (plugin)
48  plugin.OnScriptMenuOpened(true);
49  }
50 
51  void ~ScriptConsole()
52  {
53  #ifndef SERVER
54  if (GetGame() && GetGame().GetMission() && GetGame().GetMission().GetHud())
55  {
56  GetGame().GetMission().GetHud().ShowHudPlayer(true);
57  GetGame().GetMission().GetHud().ShowQuickbarPlayer(true);
58  }
59  if (m_HintWidgetRoot)
60  m_HintWidgetRoot.Unlink();
61  #endif
63  if (plugin)
64  plugin.OnScriptMenuOpened(false);
65 
66  if (GetGame() && GetGame().GetMission())
67  {
68  GetGame().GetMission().EnableAllInputs(true);
69  }
70  }
71 
72  ScriptConsoleTabBase GetSelectedHandler()
73  {
74  return m_SelectedHandler;
75  }
76 
77  static void SaveData()
78  {
79  string errorMessage;
80  if (!JsonFileLoader<JsonHintsData>.SaveFile(HINTS_PATH_OPTIONAL, m_JsonData, errorMessage))
81  ErrorEx(errorMessage);
82  }
83 
84  protected static JsonHintsData GetData()
85  {
86  string path = HINTS_PATH_OPTIONAL;
87  if (!FileExist(path))
88  {
89  path = HINTS_PATH_DEFAULT;
90  //ErrorEx(string.Format("Using default hints file: %1", path), ErrorExSeverity.INFO);
91  }
92 
93  string errorMessage;
94  JsonHintsData data;
95  if (!JsonFileLoader<JsonHintsData>.LoadFile(path, data, errorMessage))
96  ErrorEx(errorMessage);
97 
98  return data;
99  }
100 
101  void SetHintText(string text, Widget w)
102  {
103  if (m_JsonData && m_JsonData.WidgetHintBindings && w)
104  {
105  int hash = GetWidgetCombinedHash(w);
106  m_JsonData.WidgetHintBindings.Set(hash, text);
107  Print("setting: " + text);
108  }
109  HoverInterrupt();
110  }
111 
112  void RegisterTab(ScriptConsoleTabBase handler)
113  {
114  m_TabHandlers.Insert(handler.GetButton(), handler);
115  m_TabHandlersByID.Insert(m_Id, handler);
116  handler.Init(m_Id);
117  m_Id++;
118  }
119 
120  override Widget Init()
121  {
123 
124  layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/script_console/script_console.layout");
125  m_EditTooltipRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/script_console/script_console_tooltip_edit.layout", layoutRoot);
126  m_EditTooltipRoot.Show(false);
127  m_HintOkButton = ButtonWidget.Cast(m_EditTooltipRoot.FindAnyWidget("ButtonOk"));
128  m_HintCancelButton = ButtonWidget.Cast(m_EditTooltipRoot.FindAnyWidget("ButtonCancel"));
129  m_HintClearButton = ButtonWidget.Cast(m_EditTooltipRoot.FindAnyWidget("ButtonClear"));
130  m_HintInputText = EditBoxWidget.Cast(m_EditTooltipRoot.FindAnyWidget("InputText"));
131 
132  m_ButtonsWindowWidget = layoutRoot.FindAnyWidget("TabButtons");
133  m_ButtonsWindowWidget.Show(true);
134  //(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent = null)
135  RegisterTab(new ScriptConsoleItemsTab(layoutRoot.FindAnyWidget("ItemsPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("ItemsButtonWidget"))));
136  RegisterTab(new ScriptConsoleConfigTab(layoutRoot.FindAnyWidget("ConfigsPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("ConfigsButtonWidget"))));
137  RegisterTab(new ScriptConsoleEnfScriptTab(layoutRoot.FindAnyWidget("EnScriptPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("EnScriptButtonWidget"))));
138  RegisterTab(new ScriptConsoleEnfScriptServerTab(layoutRoot.FindAnyWidget("EnScriptPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("EnScriptButtonWidgetServer"))));
139  RegisterTab(new ScriptConsoleGeneralTab(layoutRoot.FindAnyWidget("GeneralPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("GeneralButtonWidget"))));
140  RegisterTab(new ScriptConsoleOutputTab(layoutRoot.FindAnyWidget("OutputPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("OutputButtonWidget"))));
141  RegisterTab(new ScriptConsoleVicinityTab(layoutRoot.FindAnyWidget("VicinityPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("VicinityWidget"))));
142  RegisterTab(new ScriptConsoleSoundsTab(layoutRoot.FindAnyWidget("SoundsPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("SoundsWidget"))));
143  RegisterTab(new ScriptConsoleWeatherTab(layoutRoot.FindAnyWidget("WeatherPanel"),this,ButtonWidget.Cast(layoutRoot.FindAnyWidget("WeatherButtonWidget"))));
144 
145  m_CloseConsoleButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget("CloseConsoleButtonWidget"));
146 
147  // load data from profile
148  m_SelectedTab = m_ConfigDebugProfile.GetTabSelected();
149  SelectTabByID(m_SelectedTab);
150 
151  m_JsonData = GetData();
152 
153  return layoutRoot;
154  }
155 
156  protected void HideHint()
157  {
158  if (m_HintWidgetRoot)
159  m_HintWidgetRoot.Unlink();
160  }
161 
162  int GetWidgetCombinedHash(Widget w)
163  {
164  string nameThis = w.GetName();
165  string nameParent = "";
166 
167  if (w.GetParent())
168  {
169  nameParent = w.GetParent().GetName();
170  }
171 
172  string namesCombined = nameThis + nameParent;
173  return namesCombined.Hash();
174  }
175 
176  protected string GetMessage()
177  {
178  int hash = GetWidgetCombinedHash(m_CurrentHoverWidget);
179 
180  if (m_JsonData && m_JsonData.WidgetHintBindings)
181  {
182  if (m_JsonData.WidgetHintBindings.Contains(hash))
183  {
184  return m_JsonData.WidgetHintBindings.Get(hash);
185  }
186  }
187  //return "";
188  //return "No hint" + hash.ToString();
189  return NO_HINT_TEXT;
190  }
191 
192  protected void HoverSuccess()
193  {
196  }
197 
198  protected void HoverInterrupt()
199  {
200  m_HoverSuccessTriggered = false;
201 
202  m_HoverTime = 0;
203  m_HintEditMode = false;
204  HideHint();
205  }
206 
207  override bool OnKeyPress(Widget w, int x, int y, int key)
208  {
209  super.OnKeyPress(w, x, y, key);
210 
211  if (m_SelectedHandler.OnKeyPress(w,x,y,key))
212  return true;
213  return false;
214 
215  }
216 
217  override bool OnKeyDown(Widget w, int x, int y, int key)
218  {
219  super.OnKeyDown(w, x, y, key);
220 
221  if (m_SelectedHandler.OnKeyDown(w,x,y,key))
222  return true;
223  return false;
224 
225  }
226 
227  override void Update(float timeslice)
228  {
229  super.Update(timeslice);
230 
231  int mouseX, mouseY;
232  GetMousePos(mouseX,mouseY);
233  float dist = Math.Sqrt(Math.AbsFloat(mouseX - m_PrevMouseX) + Math.AbsFloat(mouseY - m_PrevMouseY));
234  m_PrevMouseX = mouseX;
235  m_PrevMouseY = mouseY;
236 
237  if (dist < 1 && m_CurrentHoverWidget && !m_HoverSuccessTriggered)
238  {
239  m_HoverTime += timeslice;
240  if (m_HoverTime > 1)
241  {
242  HoverSuccess();
243  }
244  }
245 
246  if(dist > 1 && m_HoverSuccessTriggered)
247  HoverInterrupt();
248 
249  if (GetGame() && GetUApi().GetInputByID(UAUIBack).LocalPress())
250  {
251  GetGame().GetUIManager().Back();
252  }
253 
254 
255 
256  if (!GetGame().IsMultiplayer() && KeyState(KeyCode.KC_RCONTROL) && KeyState(KeyCode.KC_NUMPAD0) && m_HintWidgetRoot && m_HintWidgetRoot.IsVisible())
257  {
258  ClearKey(KeyCode.KC_NUMPAD0);
259  m_EditTooltipRoot.Show(true);
260  string text = GetMessage();
261  if (text == NO_HINT_TEXT)
262  text = "";
263  m_HintInputText.SetText(text);
264 
265  }
266 
267 
268  foreach (ScriptConsoleTabBase handler: m_TabHandlers)
269  {
270  handler.Update(timeslice);
271  }
272  }
273 
274  override bool OnMouseButtonDown(Widget w, int x, int y, int button)
275  {
276  super.OnMouseButtonDown(w,x,y,button);
277 
278  if (m_SelectedHandler.OnMouseButtonDown(w,x,y,button))
279  return true;
280 
281  return false;
282  }
283 
284 
285  override bool OnClick(Widget w, int x, int y, int button)
286  {
287  super.OnClick(w, x, y, button);
288 
289  if (w == m_CloseConsoleButton)
290  {
291  Close();
292  GetGame().GetMission().EnableAllInputs(true);
293  return true;
294  }
295  else if (w == m_HintOkButton)
296  {
297  SetHintText(m_HintInputText.GetText(), m_CurrentHoverWidget);
298  HoverInterrupt();
299  m_EditTooltipRoot.Show(false);
300  SaveData();
301  }
302  else if (w == m_HintCancelButton)
303  {
304  HoverInterrupt();
305  m_EditTooltipRoot.Show(false);
306 
307  }
308  else if (w == m_HintClearButton)
309  {
310  m_HintInputText.SetText("");
311 
312  }
313 
314  SelectTabByButton(w);
315 
316  if (m_SelectedHandler.OnClick(w,x,y,button))
317  return true;
318  return false;
319  }
320 
321  override bool OnDoubleClick(Widget w, int x, int y, int button)
322  {
323  super.OnDoubleClick(w, x, y, button);
324 
325  if (m_SelectedHandler.OnDoubleClick(w,x,y,button))
326  return true;
327 
328  return false;
329  }
330 
331  override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
332  {
333  super.OnMouseLeave(w, enterW, x, y);
334 
335  if (!m_EditTooltipRoot.IsVisible())
336  HoverInterrupt();
337  return false;
338  }
339 
340  override bool OnMouseEnter(Widget w, int x, int y)
341  {
342  super.OnMouseEnter(w, x, y);
343  if (!m_EditTooltipRoot.IsVisible())
345 
346 
347 
348  #ifdef PLATFORM_CONSOLE
349  return false;
350  #endif
351  return true;
352  }
353 
354  override bool OnChange(Widget w, int x, int y, bool finished)
355  {
356  super.OnChange(w, x, y, finished);
357 
358  if (m_SelectedHandler.OnChange(w,x,y,finished))
359  return true;
360 
361  return false;
362  }
363 
364  override bool OnItemSelected(Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
365  {
366  super.OnItemSelected(w, x, y, row, column, oldRow, oldColumn);
367 
368 
369 
370  if (m_SelectedHandler.OnItemSelected(w, x, y, row, column,oldRow, oldColumn))
371  return true;
372 
373  return false;
374  }
375 
376  ScriptConsoleTabBase GetTabHandler(typename tabType)
377  {
378  foreach (ScriptConsoleTabBase handler: m_TabHandlers)
379  {
380  if (tabType == handler.Type())
381  {
382  return handler;
383  }
384  }
385  return null;
386  }
387 
388 
389  void SelectTabByID(int id)
390  {
391  ScriptConsoleTabBase tab = m_TabHandlersByID.Get(id);
392  if (tab)
393  SelectTab(tab);
394  }
395 
396  void SelectTabByButton(Widget button)
397  {
398  ScriptConsoleTabBase tab = m_TabHandlers.Get(button);
399  if (tab)
400  SelectTab(tab);
401  }
402 
403  void SelectTab(ScriptConsoleTabBase selectedHandler)
404  {
405  foreach (ScriptConsoleTabBase handler:m_TabHandlers)
406  {
407  handler.Select(handler == selectedHandler, selectedHandler);
408  }
409  m_SelectedHandler = selectedHandler;
410  m_ConfigDebugProfile.SetTabSelected(selectedHandler.GetID());
411  }
412 
413  protected void DisplayHint(string message)
414  {
415  if (message)
416  {
417  m_HintWidgetRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/script_console/script_console_hint.layout");
418  m_HintWidgetBackground = ImageWidget.Cast(m_HintWidgetRoot.FindAnyWidget("Background"));
419  m_HintWidget = RichTextWidget.Cast(m_HintWidgetRoot.FindAnyWidget("HintText"));
420 
421  m_HintWidgetRoot.Show(true);
422  m_HintWidget.SetText(message);
423 
424  int offsetX = 0;
425  int offsetY = 10;
426 
427  int screenW, screenH;
428  GetScreenSize(screenW, screenH);
429 
430  int mouseX, mouseY;
431  GetMousePos(mouseX,mouseY);
432 
433  float relativeX = mouseX / screenW;
434  float relativeY = mouseY / screenH;
435 
436  int width, height;
437  m_HintWidget.GetTextSize(width, height);
438  if (relativeX > 0.8)
439  offsetX = -width - offsetX;
440  if (relativeY > 0.8)
441  offsetY = -height - offsetY;
442 
443  m_HintWidgetRoot.SetPos(mouseX + offsetX ,mouseY + offsetY);
444  m_HintWidgetBackground.SetScreenSize(width + 5, height + 5);
445 
446  }
447  }
448 
449  override void OnRPCEx(int rpc_type, ParamsReadContext ctx)
450  {
451  super.OnRPCEx(rpc_type, ctx);
452  #ifdef DIAG_DEVELOPER
453 
454  foreach (ScriptConsoleTabBase handler:m_TabHandlers)
455  {
456  handler.OnRPCEx(rpc_type,ctx);
457  }
458  #endif
459 
460  }
461 
463 }
464 
465 
466 class ScriptConsoleToolTipEventHandler : ScriptedWidgetEventHandler
467 {
468  reference string HintMessage;
469  protected Widget m_Root;
470 
471 
472  protected float m_HoverTime;
473  protected bool m_HoverSuccessTriggered;
476  protected ImageWidget m_HintWidgetBackground;
478 
479  protected ref Timer m_Timer;
480 
482  {
483  m_Root = w;
484  m_Root.SetHandler(this);
485  m_Root.SetFlags(WidgetFlags.VEXACTPOS);
486  }
487 
488  override bool OnMouseEnter(Widget w, int x, int y)
489  {
490  m_Timer = new Timer();
491  m_Timer.Run(0.1, this, "Tick", NULL, true);
492 
494  return true;
495  }
496 
497  override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
498  {
499  HoverInterrupt();
500  return true;
501  }
502 
503  protected bool Tick()
504  {
505  if (!m_Root.IsVisibleHierarchy())
506  HoverInterrupt();
508  {
509  m_HoverTime += 0.1;
510  if (m_HoverTime > 1)
511  {
512  HoverSuccess();
513  }
514  }
515  return true;
516  }
517 
518  protected void DisplayHint(string message)
519  {
520  if (message)
521  {
522  m_HintWidgetRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/script_console/script_console_hint.layout");
523  m_HintWidgetBackground = ImageWidget.Cast(m_HintWidgetRoot.FindAnyWidget("Background"));
524  m_HintWidget = RichTextWidget.Cast(m_HintWidgetRoot.FindAnyWidget("HintText"));
525 
526  m_HintWidgetRoot.Show(true);
527  m_HintWidget.SetText(message);
528 
529  int offsetX = 0;
530  int offsetY = 10;
531 
532  int screenW, screenH;
533  GetScreenSize(screenW, screenH);
534 
535  int mouseX, mouseY;
536  GetMousePos(mouseX,mouseY);
537 
538  float relativeX = mouseX / screenW;
539  float relativeY = mouseY / screenH;
540 
541  int width, height;
542  m_HintWidget.GetTextSize(width, height);
543  if (relativeX > 0.8)
544  offsetX = -width - offsetX;
545  if (relativeY > 0.8)
546  offsetY = -height - offsetY;
547 
548  m_HintWidgetRoot.SetPos(mouseX + offsetX ,mouseY + offsetY);
549  m_HintWidgetBackground.SetScreenSize(width + 5, height + 5);
550 
551  }
552  }
553 
554  protected void HideHint()
555  {
556  if (m_HintWidgetRoot)
557  m_HintWidgetRoot.Show(false);
558  }
559 
560 
561  protected string GetMessage()
562  {
563  return HintMessage;
564  }
565 
566  protected void HoverSuccess()
567  {
570  }
571 
572  protected void HoverInterrupt()
573  {
574  m_Timer = null;
575  m_HoverSuccessTriggered = false;
576  m_CurrentHoverWidget = null;
577  m_HoverTime = 0;
578  HideHint();
579  }
580 }
581 
582 
584 {
585  ref map<int, string> WidgetHintBindings;
586 }
587 
GetGame
proto native CGame GetGame()
UIScriptedMenu
Definition: dayzgame.c:63
ClearKey
proto native void ClearKey(KeyCode key)
ScriptConsoleWeatherTab
Definition: scriptconsoleweathertab.c:1
ScriptConsoleOutputTab
Definition: scriptconsoleoutputtab.c:1
HoverSuccess
protected void HoverSuccess()
Definition: scriptconsole.c:566
OnKeyDown
override bool OnKeyDown(Widget w, int x, int y, int key)
Definition: missionloader.c:97
m_CurrentHoverWidget
protected Widget m_CurrentHoverWidget
Definition: scriptconsole.c:474
PluginConfigDebugProfile
Definition: pluginconfigdebugprofilefixed.c:1
GetMousePos
proto void GetMousePos(out int x, out int y)
KeyCode
KeyCode
Definition: ensystem.c:156
EditBoxWidget
Definition: enwidgets.c:353
GetScreenSize
proto void GetScreenSize(out int x, out int y)
Close
void Close()
m_HintWidgetBackground
protected ImageWidget m_HintWidgetBackground
Definition: scriptconsole.c:476
y
Icon y
FileExist
proto bool FileExist(string name)
Check existence of file.
Print
proto void Print(void var)
Prints content of variable to console/log.
OnMouseEnter
override bool OnMouseEnter(Widget w, int x, int y)
Definition: scriptconsole.c:488
m_HoverSuccessTriggered
protected bool m_HoverSuccessTriggered
Definition: scriptconsole.c:473
m_Root
protected Widget m_Root
Definition: scriptconsole.c:469
ErrorEx
enum ShapeType ErrorEx
HoverInterrupt
protected void HoverInterrupt()
Definition: scriptconsole.c:572
m_Timer
protected ref Timer m_Timer
Definition: scriptconsole.c:479
GetPlugin
PluginBase GetPlugin(typename plugin_type)
Definition: pluginmanager.c:316
Serializer
Serialization general interface. Serializer API works with:
Definition: serializer.c:55
ScriptConsoleItemsTab
Definition: scriptconsoleitemstab.c:3
JsonHintsData
Definition: scriptconsole.c:583
RichTextWidget
Definition: gameplay.c:315
map
map
Definition: controlsxboxnew.c:3
OnDoubleClick
override bool OnDoubleClick(Widget w, int x, int y, int button)
Definition: missionloader.c:84
Init
class InventoryGridController extends ScriptedWidgetEventHandler Init
Definition: uihintpanel.c:46
m_HoverTime
protected float m_HoverTime
Definition: scriptconsole.c:472
OnMouseLeave
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
Definition: scriptconsole.c:497
ScriptConsoleGeneralTab
Definition: scriptconsolegeneraltab.c:1
OnWidgetScriptInit
void OnWidgetScriptInit(Widget w)
Definition: scriptconsole.c:481
ScriptConsoleEnfScriptTab
void ScriptConsoleEnfScriptTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
Definition: scriptconsoleenfscripttab.c:18
KeyState
proto native int KeyState(KeyCode key)
m_Id
class GetServerModListResult m_Id
GetServersResultRow the output structure of the GetServers operation that represents one game server.
m_HintWidget
protected RichTextWidget m_HintWidget
Definition: scriptconsole.c:477
ScriptConsoleSoundsTab
Definition: scriptconsolesoundstab.c:1
array< ref MapMarker >
Update
proto native volatile void Update()
Definition: playersoundmanager.c:125
ScriptConsoleVicinityTab
Definition: scriptconsolevicinitytab.c:1
x
Icon x
OnMouseButtonDown
bool OnMouseButtonDown(Widget w, int x, int y, int button)
Definition: pluginitemdiagnostic.c:117
Tick
protected bool Tick()
Definition: scriptconsole.c:503
HintMessage
class ScriptConsole extends UIScriptedMenu HintMessage
WidgetFlags
WidgetFlags
Definition: enwidgets.c:57
m_ConfigDebugProfile
PluginConfigDebugProfile m_ConfigDebugProfile
Definition: pluginitemdiagnostic.c:58
PluginItemDiagnostic
void PluginItemDiagnostic()
Definition: pluginitemdiagnostic.c:83
Timer
Definition: dayzplayerimplement.c:62
OnChange
bool OnChange(Widget w, int x, int y, bool finished)
Definition: huddebug.c:336
m_HintWidgetRoot
protected Widget m_HintWidgetRoot
Definition: scriptconsole.c:475
Widget
Definition: enwidgets.c:189
ScriptConsoleTabBase
Definition: scriptconsoletabbase.c:1
GetUApi
proto native UAInputAPI GetUApi()
GetMessage
protected string GetMessage()
Definition: scriptconsole.c:561
OnClick
override bool OnClick(Widget w, int x, int y, int button)
buttons clicks
Definition: dayzgame.c:146
Math
Definition: enmath.c:6
DisplayHint
protected void DisplayHint(string message)
Definition: scriptconsole.c:518
ScriptedWidgetEventHandler
map: item x vector(index, width, height)
Definition: enwidgets.c:650
HideHint
protected void HideHint()
Definition: scriptconsole.c:554
path
string path
Definition: optionselectormultistate.c:135
ScriptConsoleConfigTab
Definition: scriptconsoleconfigtab.c:4
OnRPCEx
override void OnRPCEx(int rpc_type, ParamsReadContext ctx)
Definition: scriptconsoleenfscripttab.c:204