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

Protected Member Functions

void ScriptConsoleSoundsTab (Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
void ~ScriptConsoleSoundsTab (Widget root)
void ChangeFilter (TStringArray classes, TextListboxWidget widget, EditBoxWidget filterWidget, int categoryMask=-1, bool ignoreScope=false)
void ChangeFilterSound ()
vector GetMapPos ()
TStringArray GetSoundClasses ()
void HandleKeys ()
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 OnMouseButtonDown (Widget w, int x, int y, int button)
void PlaySoundEvent ()
void PrepareFilters (string filter, out TStringArray filters)
void SetMapPos (vector pos)
override void Update (float timeslice)
void UpdateAttachmentSelection ()
void UpdateMousePos ()
void UpdateSelectedColor (ImageWidget buttonBackground)

Protected Attributes

ImageWidget m_BBackgroundSound
ImageWidget m_BBackgroundSoundAttachment
ImageWidget m_BBackgroundSoundVoice
ImageWidget m_BBackgroundSoundWeapon
CheckBoxWidget m_CheckBoxBackAtt
CheckBoxWidget m_CheckBoxBodyAtt
CheckBoxWidget m_CheckBoxShoulderAtt
ButtonWidget m_CopySoundset
MapWidget m_DebugMapWidget
TextWidget m_MapDistWidget
TextWidget m_MapHeadingWidget
vector m_MapPos
TextWidget m_MouseCurPos
bool m_PlayerPosRefreshBlocked
ButtonWidget m_PlaySoundEventButton
ButtonWidget m_PlaySoundset
ButtonWidget m_PlaySoundsetLooped
ref Timer m_RefreshFilterTimer = new Timer()
ImageWidget m_SelectedBackground
ButtonWidget m_SetETSoundAttachmentButton
ButtonWidget m_SetETSoundButton
ButtonWidget m_SetETSoundVoiceButton
ButtonWidget m_SetETSoundWeaponButton
EditBoxWidget m_SoundEventIDBox
EditBoxWidget m_SoundFilter
TextListboxWidget m_SoundsTextListbox
ButtonWidget m_StopSoundset

Static Protected Attributes

static float DEBUG_MAP_ZOOM = 1
static string m_SelectedAttachments
static int m_SelectedID
static string m_SelectedSoundEventType
static EffectSound m_SoundSet

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 scriptconsolesoundstab.c.

Constructor & Destructor Documentation

◆ ScriptConsoleSoundsTab()

◆ ~ScriptConsoleSoundsTab()

void ~ScriptConsoleSoundsTab ( Widget root)
inlineprotected

Definition at line 105 of file scriptconsolesoundstab.c.

References DEBUG_MAP_ZOOM, and m_DebugMapWidget.

Member Function Documentation

◆ ChangeFilter()

void ChangeFilter ( TStringArray classes,
TextListboxWidget widget,
EditBoxWidget filterWidget,
int categoryMask = -1,
bool ignoreScope = false )
inlineprotected

Definition at line 172 of file scriptconsolesoundstab.c.

References string::Contains(), g_Game, PrepareFilters(), and string::ToLower().

Referenced by ChangeFilterSound().

◆ ChangeFilterSound()

void ChangeFilterSound ( )
inlineprotected

◆ GetMapPos()

vector GetMapPos ( )
inlineprotected

Definition at line 294 of file scriptconsolesoundstab.c.

References m_MapPos.

Referenced by HandleKeys(), OnClick(), Update(), and UpdateMousePos().

◆ GetSoundClasses()

TStringArray GetSoundClasses ( )
inlineprotected

Definition at line 450 of file scriptconsolesoundstab.c.

References CFG_SOUND_SETS.

Referenced by ChangeFilterSound().

◆ HandleKeys()

void HandleKeys ( )
inlineprotected

◆ OnChange()

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

Definition at line 110 of file scriptconsolesoundstab.c.

References m_RefreshFilterTimer, m_SoundFilter, x, and y.

◆ OnClick()

◆ OnDoubleClick()

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

Definition at line 437 of file scriptconsolesoundstab.c.

References m_SoundEventIDBox, m_SoundFilter, x, and y.

◆ OnMouseButtonDown()

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

◆ PlaySoundEvent()

void PlaySoundEvent ( )
inlineprotected

◆ PrepareFilters()

void PrepareFilters ( string filter,
out TStringArray filters )
inlineprotected

Definition at line 155 of file scriptconsolesoundstab.c.

References string::Split(), string::ToLower(), and string::Trim().

Referenced by ChangeFilter().

◆ SetMapPos()

void SetMapPos ( vector pos)
inlineprotected

Definition at line 289 of file scriptconsolesoundstab.c.

References m_MapPos.

Referenced by ScriptConsoleSoundsTab(), and OnMouseButtonDown().

◆ Update()

override void Update ( float timeslice)
inlineprotected

◆ UpdateAttachmentSelection()

void UpdateAttachmentSelection ( )
inlineprotected

◆ UpdateMousePos()

void UpdateMousePos ( )
inlineprotected

◆ UpdateSelectedColor()

void UpdateSelectedColor ( ImageWidget buttonBackground)
inlineprotected

Definition at line 326 of file scriptconsolesoundstab.c.

References COLOR_RED, and m_SelectedBackground.

Referenced by OnClick().

Field Documentation

◆ DEBUG_MAP_ZOOM

float DEBUG_MAP_ZOOM = 1
staticprotected

Definition at line 4 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and ~ScriptConsoleSoundsTab().

◆ m_BBackgroundSound

ImageWidget m_BBackgroundSound
protected

Definition at line 32 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_BBackgroundSoundAttachment

ImageWidget m_BBackgroundSoundAttachment
protected

Definition at line 34 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_BBackgroundSoundVoice

ImageWidget m_BBackgroundSoundVoice
protected

Definition at line 35 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_BBackgroundSoundWeapon

ImageWidget m_BBackgroundSoundWeapon
protected

Definition at line 33 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_CheckBoxBackAtt

CheckBoxWidget m_CheckBoxBackAtt
protected

◆ m_CheckBoxBodyAtt

CheckBoxWidget m_CheckBoxBodyAtt
protected

◆ m_CheckBoxShoulderAtt

CheckBoxWidget m_CheckBoxShoulderAtt
protected

◆ m_CopySoundset

ButtonWidget m_CopySoundset
protected

Definition at line 15 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_DebugMapWidget

MapWidget m_DebugMapWidget
protected

◆ m_MapDistWidget

TextWidget m_MapDistWidget
protected

Definition at line 28 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and UpdateMousePos().

◆ m_MapHeadingWidget

TextWidget m_MapHeadingWidget
protected

Definition at line 30 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and UpdateMousePos().

◆ m_MapPos

vector m_MapPos
protected

Definition at line 5 of file scriptconsolesoundstab.c.

Referenced by GetMapPos(), and SetMapPos().

◆ m_MouseCurPos

TextWidget m_MouseCurPos
protected

Definition at line 29 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and UpdateMousePos().

◆ m_PlayerPosRefreshBlocked

bool m_PlayerPosRefreshBlocked
protected

Definition at line 3 of file scriptconsolesoundstab.c.

Referenced by OnMouseButtonDown().

◆ m_PlaySoundEventButton

ButtonWidget m_PlaySoundEventButton
protected

Definition at line 14 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_PlaySoundset

ButtonWidget m_PlaySoundset
protected

Definition at line 16 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_PlaySoundsetLooped

ButtonWidget m_PlaySoundsetLooped
protected

Definition at line 17 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_RefreshFilterTimer

ref Timer m_RefreshFilterTimer = new Timer()
protected

Definition at line 25 of file scriptconsolesoundstab.c.

Referenced by OnChange().

◆ m_SelectedAttachments

string m_SelectedAttachments
staticprotected

◆ m_SelectedBackground

ImageWidget m_SelectedBackground
protected

Definition at line 36 of file scriptconsolesoundstab.c.

Referenced by UpdateSelectedColor().

◆ m_SelectedID

int m_SelectedID
staticprotected

Definition at line 6 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and PlaySoundEvent().

◆ m_SelectedSoundEventType

string m_SelectedSoundEventType
staticprotected

Definition at line 7 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), OnClick(), and PlaySoundEvent().

◆ m_SetETSoundAttachmentButton

ButtonWidget m_SetETSoundAttachmentButton
protected

Definition at line 12 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_SetETSoundButton

ButtonWidget m_SetETSoundButton
protected

Definition at line 10 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_SetETSoundVoiceButton

ButtonWidget m_SetETSoundVoiceButton
protected

Definition at line 13 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_SetETSoundWeaponButton

ButtonWidget m_SetETSoundWeaponButton
protected

Definition at line 11 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().

◆ m_SoundEventIDBox

EditBoxWidget m_SoundEventIDBox
protected

Definition at line 20 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), OnDoubleClick(), and PlaySoundEvent().

◆ m_SoundFilter

EditBoxWidget m_SoundFilter
protected

◆ m_SoundSet

EffectSound m_SoundSet
staticprotected

Definition at line 24 of file scriptconsolesoundstab.c.

Referenced by HandleKeys(), and OnClick().

◆ m_SoundsTextListbox

TextListboxWidget m_SoundsTextListbox
protected

◆ m_StopSoundset

ButtonWidget m_StopSoundset
protected

Definition at line 18 of file scriptconsolesoundstab.c.

Referenced by ScriptConsoleSoundsTab(), and OnClick().


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