Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
UIPropertyAttachment Class Reference

Private Member Functions

void UIPropertyAttachment (Widget root)
void ~UIPropertyAttachment ()
void Hide ()
bool IsVisible ()
bool OnClick (Widget w, int x, int y, int button)
void SetPos (float x, float y)
void SetSize (float width, float height)
void Show (EntityAI e, string slot_name, TStringArray att_items)

Private Attributes

ref TStringArray m_ComboItems
EntityAI m_Obj
int m_PrevIndex
int m_SlotID
XComboBoxWidget m_WgtComboBox
Widget m_WgtRoot
TextWidget m_WgtSlotName
Widget m_WgtThis

Detailed Description

Definition at line 1 of file uipropertyattachment.c.

Constructor & Destructor Documentation

◆ UIPropertyAttachment()

void UIPropertyAttachment ( Widget root)
inlineprivate

Definition at line 13 of file uipropertyattachment.c.

References g_Game, m_ComboItems, m_WgtComboBox, m_WgtRoot, m_WgtSlotName, and m_WgtThis.

◆ ~UIPropertyAttachment()

void ~UIPropertyAttachment ( )
inlineprivate

Definition at line 24 of file uipropertyattachment.c.

References m_WgtComboBox, m_WgtRoot, and m_WgtThis.

Member Function Documentation

◆ Hide()

void Hide ( )
inlineprivate

Definition at line 102 of file uipropertyattachment.c.

References m_Obj, m_SlotID, and m_WgtThis.

◆ IsVisible()

bool IsVisible ( )
inlineprivate

Definition at line 110 of file uipropertyattachment.c.

References m_WgtThis.

Referenced by UIScriptedMenu::GetFreeUIPropertyAttchament().

◆ OnClick()

bool OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 32 of file uipropertyattachment.c.

References g_Game, GetPlugin(), m_ComboItems, m_Obj, m_PrevIndex, m_SlotID, m_WgtComboBox, x, and y.

◆ SetPos()

void SetPos ( float x,
float y )
inlineprivate

Definition at line 59 of file uipropertyattachment.c.

References m_WgtThis, x, and y.

Referenced by UIScriptedMenu::Refresh().

◆ SetSize()

void SetSize ( float width,
float height )
inlineprivate

Definition at line 64 of file uipropertyattachment.c.

References m_WgtThis.

Referenced by UIScriptedMenu::Refresh().

◆ Show()

void Show ( EntityAI e,
string slot_name,
TStringArray att_items )
inlineprivate

Field Documentation

◆ m_ComboItems

ref TStringArray m_ComboItems
private

Definition at line 7 of file uipropertyattachment.c.

Referenced by UIPropertyAttachment(), OnClick(), and Show().

◆ m_Obj

EntityAI m_Obj
private

Definition at line 9 of file uipropertyattachment.c.

Referenced by Hide(), OnClick(), and Show().

◆ m_PrevIndex

int m_PrevIndex
private

Definition at line 8 of file uipropertyattachment.c.

Referenced by OnClick(), and Show().

◆ m_SlotID

int m_SlotID
private

Definition at line 10 of file uipropertyattachment.c.

Referenced by Hide(), OnClick(), and Show().

◆ m_WgtComboBox

XComboBoxWidget m_WgtComboBox
private

Definition at line 5 of file uipropertyattachment.c.

Referenced by UIPropertyAttachment(), ~UIPropertyAttachment(), OnClick(), and Show().

◆ m_WgtRoot

Widget m_WgtRoot
private

Definition at line 3 of file uipropertyattachment.c.

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

◆ m_WgtSlotName

TextWidget m_WgtSlotName
private

Definition at line 6 of file uipropertyattachment.c.

Referenced by UIPropertyAttachment(), and Show().

◆ m_WgtThis

Widget m_WgtThis
private

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