Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ScriptConsoleGeneralTab Class Reference
Inheritance diagram for ScriptConsoleGeneralTab:
ScriptConsoleTabBase

Protected Member Functions

void ScriptConsoleGeneralTab (Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
void ~ScriptConsoleGeneralTab ()
string GetCurrentLocationName ()
vector GetCurrentLocationPos ()
void GetCurrentPositionData (out LocationParams data)
int GetCurrentPositionIndex ()
vector GetMapPos ()
void Init ()
bool IsCurrentPositionCustom ()
bool IsCurrentPositionValid ()
bool IsLocationNameAvailable (string name)
void LateInit ()
override bool OnChange (Widget w, int x, int y, bool finished)
override bool OnClick (Widget w, int x, int y, int button)
override bool OnDoubleClick (Widget w, int x, int y, int button)
override bool OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
override bool OnKeyDown (Widget w, int x, int y, int key)
override bool OnMouseButtonDown (Widget w, int x, int y, int button)
override void OnRPCEx (int rpc_type, ParamsReadContext ctx)
void ProcessTeleportText (PlayerBase player)
void RefreshDateWidgets (int year, int month, int day, int hour, int minute)
void RefreshLocations ()
void RefreshPlayerPosEditBoxes ()
void SetCameraDir (vector dir)
void SetDir (vector dir)
void SetMapCameraPos (vector pos)
void SetMapPos (vector pos)
void Teleport (PlayerBase player, vector position)
array< floatTextToNumbersArray (string text)
override void Update (float timeslice)
void UpdateHudDebugSetting ()
void UpdateMousePos ()
void UpdateTime (bool slider_used)

Protected Attributes

ButtonWidget m_ButtonCopyPos
TextWidget m_CameraCurDir
TextWidget m_CameraCurPos
EditBoxWidget m_DateDay
EditBoxWidget m_DateHour
EditBoxWidget m_DateMinute
EditBoxWidget m_DateMonth
EditBoxWidget m_DateYear
MapWidget m_DebugMapWidget
PluginDeveloper m_Developer
ButtonWidget m_DiagDrawButton
TextListboxWidget m_DiagDrawmodeTextListbox
ButtonWidget m_DiagToggleButton
TextListboxWidget m_DiagToggleTextListbox
FreeDebugCamera m_FreeDebugCamera
TextListboxWidget m_HelpTextListboxWidget
CheckBoxWidget m_HudDCharAgents
CheckBoxWidget m_HudDCharDebug
CheckBoxWidget m_HudDCharLevels
CheckBoxWidget m_HudDCharModifiers
CheckBoxWidget m_HudDCharStats
CheckBoxWidget m_HudDCharStomach
CheckBoxWidget m_HudDFreeCamCross
CheckBoxWidget m_HudDHealth
CheckBoxWidget m_HudDHorticulture
CheckBoxWidget m_HudDTemperature
CheckBoxWidget m_HudDVersion
bool m_InitialOpen = true
ref Timer m_LateInit = new Timer()
ButtonWidget m_LocationAddButton
ButtonWidget m_LocationRemoveButton
CheckBoxWidget m_LogsEnabled
vector m_MapPos
MissionGameplay m_MissionGameplay
TextWidget m_MouseCurPos
TextWidget m_PlayerCurDir
TextWidget m_PlayerCurPos
ref array< ref RemotePlayerStatDebugm_PlayerDebugStats = new array<ref RemotePlayerStatDebug>
TextWidget m_PlayerMouseDiff
bool m_PlayerPosRefreshBlocked
TextListboxWidget m_PositionsListbox
CheckBoxWidget m_ShowOthers
ButtonWidget m_TeleportButton
EditBoxWidget m_TeleportHeading
EditBoxWidget m_TeleportXYZ
SliderWidget m_TimeSlider
bool m_UpdatePlayerPositions
const string NUMERIC_LETTERS = "0123456789.-"

Static Protected Attributes

static float DEBUG_MAP_ZOOM = 1
vector m_LastEditDir = vector.Zero
vector m_LastEditPos = vector.Zero
static bool SHOW_OTHERS = 0

Static Private Attributes

static int m_ObjectsScope = 2

Additional Inherited Members

Private Member Functions inherited from ScriptConsoleTabBase
void ScriptConsoleTabBase (Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
void AddItemToClipboard (TextListboxWidget text_listbox_widget)
Widget GetButton ()
int GetID ()
Widget GetRoot ()
void Init (int id)
bool IsSelected ()
bool OnChange (Widget w, int x, int y, bool finished)
bool OnClick (Widget w, int x, int y, int button)
bool OnDoubleClick (Widget w, int x, int y, int button)
bool OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
bool OnKeyDown (Widget w, int x, int y, int key)
bool OnKeyPress (Widget w, int x, int y, int key)
bool OnMouseButtonDown (Widget w, int x, int y, int button)
bool OnMouseEnter (Widget w, int x, int y)
bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
void OnRPCEx (int rpc_type, ParamsReadContext ctx)
void OnSelected ()
void Select (bool select, ScriptConsoleTabBase selectedHandler)
void Show (bool show, ScriptConsoleTabBase selectedHandler)
void Update (float timeslice)
Private Attributes inherited from ScriptConsoleTabBase
Widget m_Button
PluginConfigDebugProfile m_ConfigDebugProfile
PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed
int m_Id
bool m_IsSelected
bool m_IsShiftDown
ScriptConsoleTabBase m_Parent
Widget m_ParentRoot
Widget m_Root
ScriptConsole m_ScriptConsole

Detailed Description

Definition at line 1 of file scriptconsolegeneraltab.c.

Constructor & Destructor Documentation

◆ ScriptConsoleGeneralTab()

◆ ~ScriptConsoleGeneralTab()

void ~ScriptConsoleGeneralTab ( )
inlineprotected

Member Function Documentation

◆ GetCurrentLocationName()

string GetCurrentLocationName ( )
inlineprotected

Definition at line 394 of file scriptconsolegeneraltab.c.

References GetCurrentPositionData(), and name.

Referenced by OnClick().

◆ GetCurrentLocationPos()

vector GetCurrentLocationPos ( )
inlineprotected

Definition at line 403 of file scriptconsolegeneraltab.c.

References GetCurrentPositionData(), and vector::Zero.

Referenced by OnClick(), OnDoubleClick(), and OnItemSelected().

◆ GetCurrentPositionData()

void GetCurrentPositionData ( out LocationParams data)
inlineprotected

◆ GetCurrentPositionIndex()

int GetCurrentPositionIndex ( )
inlineprotected

Definition at line 431 of file scriptconsolegeneraltab.c.

References m_PositionsListbox.

Referenced by OnClick(), and OnItemSelected().

◆ GetMapPos()

vector GetMapPos ( )
inlineprotected

Definition at line 540 of file scriptconsolegeneraltab.c.

References m_MapPos.

Referenced by OnClick(), and Update().

◆ Init()

◆ IsCurrentPositionCustom()

bool IsCurrentPositionCustom ( )
inlineprotected

Definition at line 421 of file scriptconsolegeneraltab.c.

References GetCurrentPositionData().

◆ IsCurrentPositionValid()

bool IsCurrentPositionValid ( )
inlineprotected

Definition at line 436 of file scriptconsolegeneraltab.c.

References m_PositionsListbox.

Referenced by OnClick(), and OnItemSelected().

◆ IsLocationNameAvailable()

bool IsLocationNameAvailable ( string name)
inlineprotected

Definition at line 205 of file scriptconsolegeneraltab.c.

References m_PositionsListbox, and name.

Referenced by UIScriptedMenu::OnClick().

◆ LateInit()

◆ OnChange()

override bool OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprotected

◆ OnClick()

◆ OnDoubleClick()

override bool OnDoubleClick ( Widget w,
int x,
int y,
int button )
inlineprotected

◆ OnItemSelected()

override bool OnItemSelected ( Widget w,
int x,
int y,
int row,
int column,
int oldRow,
int oldColumn )
inlineprotected

◆ OnKeyDown()

override bool OnKeyDown ( Widget w,
int x,
int y,
int key )
inlineprotected

Definition at line 582 of file scriptconsolegeneraltab.c.

References x, and y.

◆ OnMouseButtonDown()

override bool OnMouseButtonDown ( Widget w,
int x,
int y,
int button )
inlineprotected

◆ OnRPCEx()

override void OnRPCEx ( int rpc_type,
ParamsReadContext ctx )
inlineprotected

Definition at line 918 of file scriptconsolegeneraltab.c.

References m_PlayerDebugStats, and Serializer::Read().

◆ ProcessTeleportText()

void ProcessTeleportText ( PlayerBase player)
inlineprotected

◆ RefreshDateWidgets()

void RefreshDateWidgets ( int year,
int month,
int day,
int hour,
int minute )
inlineprotected

◆ RefreshLocations()

void RefreshLocations ( )
inlineprotected

◆ RefreshPlayerPosEditBoxes()

void RefreshPlayerPosEditBoxes ( )
inlineprotected

Definition at line 443 of file scriptconsolegeneraltab.c.

References g_Game, SetDir(), and SetMapPos().

Referenced by Update().

◆ SetCameraDir()

void SetCameraDir ( vector dir)
inlineprotected

Definition at line 535 of file scriptconsolegeneraltab.c.

References m_CameraCurDir.

Referenced by OnMouseButtonDown().

◆ SetDir()

void SetDir ( vector dir)
inlineprotected

Definition at line 530 of file scriptconsolegeneraltab.c.

References m_PlayerCurDir.

Referenced by RefreshPlayerPosEditBoxes().

◆ SetMapCameraPos()

void SetMapCameraPos ( vector pos)
inlineprotected

Definition at line 525 of file scriptconsolegeneraltab.c.

References m_CameraCurPos.

Referenced by OnMouseButtonDown().

◆ SetMapPos()

void SetMapPos ( vector pos)
inlineprotected

Definition at line 519 of file scriptconsolegeneraltab.c.

References m_MapPos, and m_PlayerCurPos.

Referenced by OnMouseButtonDown(), and RefreshPlayerPosEditBoxes().

◆ Teleport()

void Teleport ( PlayerBase player,
vector position )
inlineprotected

Definition at line 246 of file scriptconsolegeneraltab.c.

References g_Game, and m_Developer.

Referenced by OnDoubleClick(), and ProcessTeleportText().

◆ TextToNumbersArray()

array< float > TextToNumbersArray ( string text)
inlineprotected

◆ Update()

◆ UpdateHudDebugSetting()

void UpdateHudDebugSetting ( )
protected

Referenced by Init().

◆ UpdateMousePos()

void UpdateMousePos ( )
inlineprotected

Definition at line 495 of file scriptconsolegeneraltab.c.

References g_Game, GetMousePos(), m_DebugMapWidget, m_MouseCurPos, m_PlayerMouseDiff, x, and y.

Referenced by Update().

◆ UpdateTime()

void UpdateTime ( bool slider_used)
inlineprotected

Field Documentation

◆ DEBUG_MAP_ZOOM

float DEBUG_MAP_ZOOM = 1
staticprotected

Definition at line 7 of file scriptconsolegeneraltab.c.

Referenced by ~ScriptConsoleGeneralTab(), and Init().

◆ m_ButtonCopyPos

ButtonWidget m_ButtonCopyPos
protected

Definition at line 37 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_CameraCurDir

TextWidget m_CameraCurDir
protected

Definition at line 63 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and SetCameraDir().

◆ m_CameraCurPos

TextWidget m_CameraCurPos
protected

Definition at line 62 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and SetMapCameraPos().

◆ m_DateDay

EditBoxWidget m_DateDay
protected

◆ m_DateHour

EditBoxWidget m_DateHour
protected

◆ m_DateMinute

EditBoxWidget m_DateMinute
protected

◆ m_DateMonth

EditBoxWidget m_DateMonth
protected

◆ m_DateYear

EditBoxWidget m_DateYear
protected

◆ m_DebugMapWidget

◆ m_Developer

PluginDeveloper m_Developer
protected

◆ m_DiagDrawButton

ButtonWidget m_DiagDrawButton
protected

Definition at line 38 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_DiagDrawmodeTextListbox

TextListboxWidget m_DiagDrawmodeTextListbox
protected

Definition at line 67 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_DiagToggleButton

ButtonWidget m_DiagToggleButton
protected

Definition at line 39 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_DiagToggleTextListbox

TextListboxWidget m_DiagToggleTextListbox
protected

Definition at line 65 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_FreeDebugCamera

FreeDebugCamera m_FreeDebugCamera
protected

◆ m_HelpTextListboxWidget

TextListboxWidget m_HelpTextListboxWidget
protected

Definition at line 68 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab().

◆ m_HudDCharAgents

CheckBoxWidget m_HudDCharAgents
protected

Definition at line 46 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDCharDebug

CheckBoxWidget m_HudDCharDebug
protected

Definition at line 47 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDCharLevels

CheckBoxWidget m_HudDCharLevels
protected

Definition at line 43 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDCharModifiers

CheckBoxWidget m_HudDCharModifiers
protected

Definition at line 45 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDCharStats

CheckBoxWidget m_HudDCharStats
protected

Definition at line 42 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDCharStomach

CheckBoxWidget m_HudDCharStomach
protected

Definition at line 44 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDFreeCamCross

CheckBoxWidget m_HudDFreeCamCross
protected

Definition at line 48 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDHealth

CheckBoxWidget m_HudDHealth
protected

Definition at line 50 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDHorticulture

CheckBoxWidget m_HudDHorticulture
protected

Definition at line 51 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDTemperature

CheckBoxWidget m_HudDTemperature
protected

Definition at line 55 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_HudDVersion

CheckBoxWidget m_HudDVersion
protected

Definition at line 49 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_InitialOpen

bool m_InitialOpen = true
protected

Definition at line 23 of file scriptconsolegeneraltab.c.

Referenced by OnItemSelected().

◆ m_LastEditDir

vector m_LastEditDir = vector.Zero
staticprotected

Definition at line 5 of file scriptconsolegeneraltab.c.

Referenced by Init(), and ProcessTeleportText().

◆ m_LastEditPos

vector m_LastEditPos = vector.Zero
staticprotected

Definition at line 4 of file scriptconsolegeneraltab.c.

Referenced by Init(), and ProcessTeleportText().

◆ m_LateInit

ref Timer m_LateInit = new Timer()
protected

Definition at line 20 of file scriptconsolegeneraltab.c.

Referenced by Init().

◆ m_LocationAddButton

ButtonWidget m_LocationAddButton
protected

Definition at line 34 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_LocationRemoveButton

ButtonWidget m_LocationRemoveButton
protected

Definition at line 35 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_LogsEnabled

CheckBoxWidget m_LogsEnabled
protected

Definition at line 41 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), Init(), and OnClick().

◆ m_MapPos

vector m_MapPos
protected

Definition at line 11 of file scriptconsolegeneraltab.c.

Referenced by GetMapPos(), and SetMapPos().

◆ m_MissionGameplay

MissionGameplay m_MissionGameplay
protected

Definition at line 16 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_MouseCurPos

TextWidget m_MouseCurPos
protected

Definition at line 60 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and UpdateMousePos().

◆ m_ObjectsScope

int m_ObjectsScope = 2
staticprivate

Definition at line 3 of file scriptconsolegeneraltab.c.

◆ m_PlayerCurDir

TextWidget m_PlayerCurDir
protected

Definition at line 59 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and SetDir().

◆ m_PlayerCurPos

TextWidget m_PlayerCurPos
protected

Definition at line 58 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and SetMapPos().

◆ m_PlayerDebugStats

ref array<ref RemotePlayerStatDebug> m_PlayerDebugStats = new array<ref RemotePlayerStatDebug>
protected

Definition at line 14 of file scriptconsolegeneraltab.c.

Referenced by LateInit(), OnRPCEx(), and Update().

◆ m_PlayerMouseDiff

TextWidget m_PlayerMouseDiff
protected

Definition at line 61 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and UpdateMousePos().

◆ m_PlayerPosRefreshBlocked

bool m_PlayerPosRefreshBlocked
protected

Definition at line 12 of file scriptconsolegeneraltab.c.

Referenced by OnMouseButtonDown(), and Update().

◆ m_PositionsListbox

◆ m_ShowOthers

CheckBoxWidget m_ShowOthers
protected

Definition at line 53 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), LateInit(), and OnChange().

◆ m_TeleportButton

ButtonWidget m_TeleportButton
protected

Definition at line 36 of file scriptconsolegeneraltab.c.

Referenced by ScriptConsoleGeneralTab(), and OnClick().

◆ m_TeleportHeading

EditBoxWidget m_TeleportHeading
protected

◆ m_TeleportXYZ

EditBoxWidget m_TeleportXYZ
protected

◆ m_TimeSlider

SliderWidget m_TimeSlider
protected

◆ m_UpdatePlayerPositions

bool m_UpdatePlayerPositions
protected

Definition at line 22 of file scriptconsolegeneraltab.c.

Referenced by LateInit(), OnChange(), and Update().

◆ NUMERIC_LETTERS

const string NUMERIC_LETTERS = "0123456789.-"
protected

Definition at line 10 of file scriptconsolegeneraltab.c.

Referenced by TextToNumbersArray().

◆ SHOW_OTHERS

bool SHOW_OTHERS = 0
staticprotected

Definition at line 8 of file scriptconsolegeneraltab.c.

Referenced by ~ScriptConsoleGeneralTab(), LateInit(), and OnChange().


The documentation for this class was generated from the following file: