Dayz Explorer 1.28.160049
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 ()
 
void Init ()
 
void RefreshDateWidgets (int year, int month, int day, int hour, int minute)
 
bool IsLocationNameAvailable (string name)
 
void LateInit ()
 
void Teleport (PlayerBase player, vector position)
 
void ProcessTeleportText (PlayerBase player)
 
array< floatTextToNumbersArray (string text)
 
void RefreshLocations ()
 
string GetCurrentLocationName ()
 
vector GetCurrentLocationPos ()
 
void GetCurrentPositionData (out LocationParams data)
 
bool IsCurrentPositionCustom ()
 
int GetCurrentPositionIndex ()
 
bool IsCurrentPositionValid ()
 
void UpdateHudDebugSetting ()
 
void RefreshPlayerPosEditBoxes ()
 
void UpdateTime (bool slider_used)
 
void UpdateMousePos ()
 
void SetMapPos (vector pos)
 
void SetMapCameraPos (vector pos)
 
void SetDir (vector dir)
 
void SetCameraDir (vector dir)
 
vector GetMapPos ()
 
override bool OnMouseButtonDown (Widget w, int x, int y, int button)
 
override bool OnKeyDown (Widget w, int x, int y, int key)
 
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)
 
override bool OnDoubleClick (Widget w, int x, int y, int button)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override void OnRPCEx (int rpc_type, ParamsReadContext ctx)
 
override void Update (float timeslice)
 

Protected Attributes

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

Static Protected Attributes

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

Detailed Description

Definition at line 1 of file scriptconsolegeneraltab.c.

Constructor & Destructor Documentation

◆ ScriptConsoleGeneralTab()

void ScriptConsoleGeneralTab::ScriptConsoleGeneralTab ( Widget root,
ScriptConsole console,
Widget button,
ScriptConsoleTabBase parent = null )
protected

Definition at line 74 of file scriptconsolegeneraltab.c.

◆ ~ScriptConsoleGeneralTab()

void ScriptConsoleGeneralTab::~ScriptConsoleGeneralTab ( )
protected

Definition at line 133 of file scriptconsolegeneraltab.c.

Member Function Documentation

◆ GetCurrentLocationName()

string ScriptConsoleGeneralTab::GetCurrentLocationName ( )
protected

Definition at line 386 of file scriptconsolegeneraltab.c.

◆ GetCurrentLocationPos()

vector ScriptConsoleGeneralTab::GetCurrentLocationPos ( )
protected

Definition at line 395 of file scriptconsolegeneraltab.c.

◆ GetCurrentPositionData()

void ScriptConsoleGeneralTab::GetCurrentPositionData ( out LocationParams data)
protected

Definition at line 405 of file scriptconsolegeneraltab.c.

◆ GetCurrentPositionIndex()

int ScriptConsoleGeneralTab::GetCurrentPositionIndex ( )
protected

Definition at line 423 of file scriptconsolegeneraltab.c.

◆ GetMapPos()

vector ScriptConsoleGeneralTab::GetMapPos ( )
protected

Definition at line 532 of file scriptconsolegeneraltab.c.

◆ Init()

void ScriptConsoleGeneralTab::Init ( )
protected

Definition at line 142 of file scriptconsolegeneraltab.c.

◆ IsCurrentPositionCustom()

bool ScriptConsoleGeneralTab::IsCurrentPositionCustom ( )
protected

Definition at line 413 of file scriptconsolegeneraltab.c.

◆ IsCurrentPositionValid()

bool ScriptConsoleGeneralTab::IsCurrentPositionValid ( )
protected

Definition at line 428 of file scriptconsolegeneraltab.c.

◆ IsLocationNameAvailable()

bool ScriptConsoleGeneralTab::IsLocationNameAvailable ( string name)
protected

Definition at line 205 of file scriptconsolegeneraltab.c.

◆ LateInit()

void ScriptConsoleGeneralTab::LateInit ( )
protected

Definition at line 218 of file scriptconsolegeneraltab.c.

◆ OnChange()

override bool ScriptConsoleGeneralTab::OnChange ( Widget w,
int x,
int y,
bool finished )
protected

Definition at line 580 of file scriptconsolegeneraltab.c.

◆ OnClick()

override bool ScriptConsoleGeneralTab::OnClick ( Widget w,
int x,
int y,
int button )
protected

Definition at line 689 of file scriptconsolegeneraltab.c.

◆ OnDoubleClick()

override bool ScriptConsoleGeneralTab::OnDoubleClick ( Widget w,
int x,
int y,
int button )
protected

Definition at line 633 of file scriptconsolegeneraltab.c.

◆ OnItemSelected()

override bool ScriptConsoleGeneralTab::OnItemSelected ( Widget w,
int x,
int y,
int row,
int column,
int oldRow,
int oldColumn )
protected

Definition at line 610 of file scriptconsolegeneraltab.c.

◆ OnKeyDown()

override bool ScriptConsoleGeneralTab::OnKeyDown ( Widget w,
int x,
int y,
int key )
protected

Definition at line 574 of file scriptconsolegeneraltab.c.

◆ OnMouseButtonDown()

override bool ScriptConsoleGeneralTab::OnMouseButtonDown ( Widget w,
int x,
int y,
int button )
protected

Definition at line 537 of file scriptconsolegeneraltab.c.

◆ OnRPCEx()

override void ScriptConsoleGeneralTab::OnRPCEx ( int rpc_type,
ParamsReadContext ctx )
protected

Definition at line 903 of file scriptconsolegeneraltab.c.

◆ ProcessTeleportText()

void ScriptConsoleGeneralTab::ProcessTeleportText ( PlayerBase player)
protected

Definition at line 245 of file scriptconsolegeneraltab.c.

◆ RefreshDateWidgets()

void ScriptConsoleGeneralTab::RefreshDateWidgets ( int year,
int month,
int day,
int hour,
int minute )
protected

Definition at line 194 of file scriptconsolegeneraltab.c.

◆ RefreshLocations()

void ScriptConsoleGeneralTab::RefreshLocations ( )
protected

Definition at line 368 of file scriptconsolegeneraltab.c.

◆ RefreshPlayerPosEditBoxes()

void ScriptConsoleGeneralTab::RefreshPlayerPosEditBoxes ( )
protected

Definition at line 435 of file scriptconsolegeneraltab.c.

◆ SetCameraDir()

void ScriptConsoleGeneralTab::SetCameraDir ( vector dir)
protected

Definition at line 527 of file scriptconsolegeneraltab.c.

◆ SetDir()

void ScriptConsoleGeneralTab::SetDir ( vector dir)
protected

Definition at line 522 of file scriptconsolegeneraltab.c.

◆ SetMapCameraPos()

void ScriptConsoleGeneralTab::SetMapCameraPos ( vector pos)
protected

Definition at line 517 of file scriptconsolegeneraltab.c.

◆ SetMapPos()

void ScriptConsoleGeneralTab::SetMapPos ( vector pos)
protected

Definition at line 511 of file scriptconsolegeneraltab.c.

◆ Teleport()

void ScriptConsoleGeneralTab::Teleport ( PlayerBase player,
vector position )
protected

Definition at line 238 of file scriptconsolegeneraltab.c.

◆ TextToNumbersArray()

array< float > ScriptConsoleGeneralTab::TextToNumbersArray ( string text)
protected

Definition at line 337 of file scriptconsolegeneraltab.c.

◆ Update()

override void ScriptConsoleGeneralTab::Update ( float timeslice)
protected

Definition at line 918 of file scriptconsolegeneraltab.c.

◆ UpdateHudDebugSetting()

void ScriptConsoleGeneralTab::UpdateHudDebugSetting ( )
protected

◆ UpdateMousePos()

void ScriptConsoleGeneralTab::UpdateMousePos ( )
protected

Definition at line 487 of file scriptconsolegeneraltab.c.

◆ UpdateTime()

void ScriptConsoleGeneralTab::UpdateTime ( bool slider_used)
protected

Definition at line 449 of file scriptconsolegeneraltab.c.

Member Data Documentation

◆ DEBUG_MAP_ZOOM

float ScriptConsoleGeneralTab::DEBUG_MAP_ZOOM = 1
staticprotected

Definition at line 7 of file scriptconsolegeneraltab.c.

◆ m_ButtonCopyPos

ButtonWidget ScriptConsoleGeneralTab::m_ButtonCopyPos
protected

Definition at line 37 of file scriptconsolegeneraltab.c.

◆ m_CameraCurDir

TextWidget ScriptConsoleGeneralTab::m_CameraCurDir
protected

Definition at line 63 of file scriptconsolegeneraltab.c.

◆ m_CameraCurPos

TextWidget ScriptConsoleGeneralTab::m_CameraCurPos
protected

Definition at line 62 of file scriptconsolegeneraltab.c.

◆ m_DateDay

EditBoxWidget ScriptConsoleGeneralTab::m_DateDay
protected

Definition at line 30 of file scriptconsolegeneraltab.c.

◆ m_DateHour

EditBoxWidget ScriptConsoleGeneralTab::m_DateHour
protected

Definition at line 31 of file scriptconsolegeneraltab.c.

◆ m_DateMinute

EditBoxWidget ScriptConsoleGeneralTab::m_DateMinute
protected

Definition at line 32 of file scriptconsolegeneraltab.c.

◆ m_DateMonth

EditBoxWidget ScriptConsoleGeneralTab::m_DateMonth
protected

Definition at line 29 of file scriptconsolegeneraltab.c.

◆ m_DateYear

EditBoxWidget ScriptConsoleGeneralTab::m_DateYear
protected

Definition at line 28 of file scriptconsolegeneraltab.c.

◆ m_DebugMapWidget

MapWidget ScriptConsoleGeneralTab::m_DebugMapWidget
protected

Definition at line 56 of file scriptconsolegeneraltab.c.

◆ m_Developer

PluginDeveloper ScriptConsoleGeneralTab::m_Developer
protected

Definition at line 17 of file scriptconsolegeneraltab.c.

◆ m_DiagDrawButton

ButtonWidget ScriptConsoleGeneralTab::m_DiagDrawButton
protected

Definition at line 38 of file scriptconsolegeneraltab.c.

◆ m_DiagDrawmodeTextListbox

TextListboxWidget ScriptConsoleGeneralTab::m_DiagDrawmodeTextListbox
protected

Definition at line 67 of file scriptconsolegeneraltab.c.

◆ m_DiagToggleButton

ButtonWidget ScriptConsoleGeneralTab::m_DiagToggleButton
protected

Definition at line 39 of file scriptconsolegeneraltab.c.

◆ m_DiagToggleTextListbox

TextListboxWidget ScriptConsoleGeneralTab::m_DiagToggleTextListbox
protected

Definition at line 65 of file scriptconsolegeneraltab.c.

◆ m_FreeDebugCamera

FreeDebugCamera ScriptConsoleGeneralTab::m_FreeDebugCamera
protected

Definition at line 70 of file scriptconsolegeneraltab.c.

◆ m_HelpTextListboxWidget

TextListboxWidget ScriptConsoleGeneralTab::m_HelpTextListboxWidget
protected

Definition at line 68 of file scriptconsolegeneraltab.c.

◆ m_HudDCharAgents

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharAgents
protected

Definition at line 46 of file scriptconsolegeneraltab.c.

◆ m_HudDCharDebug

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharDebug
protected

Definition at line 47 of file scriptconsolegeneraltab.c.

◆ m_HudDCharLevels

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharLevels
protected

Definition at line 43 of file scriptconsolegeneraltab.c.

◆ m_HudDCharModifiers

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharModifiers
protected

Definition at line 45 of file scriptconsolegeneraltab.c.

◆ m_HudDCharStats

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharStats
protected

Definition at line 42 of file scriptconsolegeneraltab.c.

◆ m_HudDCharStomach

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDCharStomach
protected

Definition at line 44 of file scriptconsolegeneraltab.c.

◆ m_HudDFreeCamCross

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDFreeCamCross
protected

Definition at line 48 of file scriptconsolegeneraltab.c.

◆ m_HudDHealth

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDHealth
protected

Definition at line 50 of file scriptconsolegeneraltab.c.

◆ m_HudDHorticulture

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDHorticulture
protected

Definition at line 51 of file scriptconsolegeneraltab.c.

◆ m_HudDTemperature

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDTemperature
protected

Definition at line 55 of file scriptconsolegeneraltab.c.

◆ m_HudDVersion

CheckBoxWidget ScriptConsoleGeneralTab::m_HudDVersion
protected

Definition at line 49 of file scriptconsolegeneraltab.c.

◆ m_InitialOpen

bool ScriptConsoleGeneralTab::m_InitialOpen = true
protected

Definition at line 23 of file scriptconsolegeneraltab.c.

◆ m_LastEditDir

vector ScriptConsoleGeneralTab::m_LastEditDir = vector.Zero
staticprotected

Definition at line 5 of file scriptconsolegeneraltab.c.

◆ m_LastEditPos

vector ScriptConsoleGeneralTab::m_LastEditPos = vector.Zero
staticprotected

Definition at line 4 of file scriptconsolegeneraltab.c.

◆ m_LateInit

ref Timer ScriptConsoleGeneralTab::m_LateInit = new Timer()
protected

Definition at line 20 of file scriptconsolegeneraltab.c.

◆ m_LocationAddButton

ButtonWidget ScriptConsoleGeneralTab::m_LocationAddButton
protected

Definition at line 34 of file scriptconsolegeneraltab.c.

◆ m_LocationRemoveButton

ButtonWidget ScriptConsoleGeneralTab::m_LocationRemoveButton
protected

Definition at line 35 of file scriptconsolegeneraltab.c.

◆ m_LogsEnabled

CheckBoxWidget ScriptConsoleGeneralTab::m_LogsEnabled
protected

Definition at line 41 of file scriptconsolegeneraltab.c.

◆ m_MapPos

vector ScriptConsoleGeneralTab::m_MapPos
protected

Definition at line 11 of file scriptconsolegeneraltab.c.

◆ m_MissionGameplay

MissionGameplay ScriptConsoleGeneralTab::m_MissionGameplay
protected

Definition at line 16 of file scriptconsolegeneraltab.c.

◆ m_MouseCurPos

TextWidget ScriptConsoleGeneralTab::m_MouseCurPos
protected

Definition at line 60 of file scriptconsolegeneraltab.c.

◆ m_PlayerCurDir

TextWidget ScriptConsoleGeneralTab::m_PlayerCurDir
protected

Definition at line 59 of file scriptconsolegeneraltab.c.

◆ m_PlayerCurPos

TextWidget ScriptConsoleGeneralTab::m_PlayerCurPos
protected

Definition at line 58 of file scriptconsolegeneraltab.c.

◆ m_PlayerDebugStats

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

Definition at line 14 of file scriptconsolegeneraltab.c.

◆ m_PlayerMouseDiff

TextWidget ScriptConsoleGeneralTab::m_PlayerMouseDiff
protected

Definition at line 61 of file scriptconsolegeneraltab.c.

◆ m_PlayerPosRefreshBlocked

bool ScriptConsoleGeneralTab::m_PlayerPosRefreshBlocked
protected

Definition at line 12 of file scriptconsolegeneraltab.c.

◆ m_PositionsListbox

TextListboxWidget ScriptConsoleGeneralTab::m_PositionsListbox
protected

Definition at line 66 of file scriptconsolegeneraltab.c.

◆ m_ShowOthers

CheckBoxWidget ScriptConsoleGeneralTab::m_ShowOthers
protected

Definition at line 53 of file scriptconsolegeneraltab.c.

◆ m_TeleportButton

ButtonWidget ScriptConsoleGeneralTab::m_TeleportButton
protected

Definition at line 36 of file scriptconsolegeneraltab.c.

◆ m_TeleportHeading

EditBoxWidget ScriptConsoleGeneralTab::m_TeleportHeading
protected

Definition at line 26 of file scriptconsolegeneraltab.c.

◆ m_TeleportXYZ

EditBoxWidget ScriptConsoleGeneralTab::m_TeleportXYZ
protected

Definition at line 27 of file scriptconsolegeneraltab.c.

◆ m_TimeSlider

SliderWidget ScriptConsoleGeneralTab::m_TimeSlider
protected

Definition at line 19 of file scriptconsolegeneraltab.c.

◆ m_UpdatePlayerPositions

bool ScriptConsoleGeneralTab::m_UpdatePlayerPositions
protected

Definition at line 22 of file scriptconsolegeneraltab.c.

◆ NUMERIC_LETTERS

const string ScriptConsoleGeneralTab::NUMERIC_LETTERS = "0123456789.-"
protected

Definition at line 10 of file scriptconsolegeneraltab.c.

◆ SHOW_OTHERS

bool ScriptConsoleGeneralTab::SHOW_OTHERS = 0
staticprotected

Definition at line 8 of file scriptconsolegeneraltab.c.


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