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

Protected Member Functions

void AttachmentCategoriesContainer (LayoutHolder parent, int sort=-1)
void ~AttachmentCategoriesContainer ()
override bool CanDisplayAnyCategory ()
override bool CanOpenCloseContainerEx (EntityAI focusedEntity)
override void Close ()
override void CollapseButtonOnMouseButtonDown (Widget w)
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
override void ExpandCollapseContainer ()
int GetAttachmentCategoriesCount (string config_path)
string GetAttachmentCategory (string config_path_attachment_categories, int i)
SlotsIcon GetCargoSlotsIcon ()
string GetIconName (string config_path_attachment_categories, string attachment_category)
SlotsContainer GetSlotsContainer (int icons_row)
int GetViewIndex (string config_path_attachment_categories, string attachment_category)
void InitGhostSlots ()
void InitIconsContainers ()
override bool IsDisplayable ()
bool IsHeaderActive ()
void LoadAttachmentCategoriesIcon (SlotsContainer items_cont, string icon_name, int slot_number)
void MouseClick (Widget w)
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
override void OnHide ()
override void Open ()
void SetEntity (EntityAI entity)
void SetHeaderName ()
void ShowInSlots (string category, bool show)
override void UpdateInterval ()
override void UpdateRadialIcon ()

Protected Attributes

SlotsIcon m_CargoSlotsIcon
ref map< string, intm_CategorySlotIndex
int m_SlotsCount

Additional Inherited Members

Private Member Functions inherited from CollapsibleContainer
void CollapsibleContainer (LayoutHolder parent, int sort=-1)
bool CanDisplayAnyCategory ()
void CollapseButtonOnMouseButtonDown (Widget w)
EntityAI GetEntity ()
override Header GetHeader ()
override void Insert (LayoutHolder container, int pos=-1, bool immedUpdate=true)
bool IsHidden ()
void LoadDefaultState ()
override bool OnChildAdd (Widget w, Widget child)
override bool OnChildRemove (Widget w, Widget child)
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
override void OnHide ()
override void OnShow ()
override void Refresh ()
override void Remove (LayoutHolder container)
void SetCollapsibleHeaderArrowState (bool open)
override void SetHeader (Header header)
override void SetLayoutName ()
override void Toggle ()
void UpdateCollapseButtons ()
Private Attributes inherited from CollapsibleContainer
ref CollapsibleHeader m_CollapsibleHeader
bool m_Hidden

Detailed Description

Definition at line 1 of file attachmentcategoriescontainer.c.

Constructor & Destructor Documentation

◆ AttachmentCategoriesContainer()

void AttachmentCategoriesContainer ( LayoutHolder parent,
int sort = -1 )
inlineprotected

Definition at line 7 of file attachmentcategoriescontainer.c.

References m_CategorySlotIndex.

◆ ~AttachmentCategoriesContainer()

void ~AttachmentCategoriesContainer ( )
inlineprotected

Definition at line 12 of file attachmentcategoriescontainer.c.

References GetParent(), and IsActive().

Member Function Documentation

◆ CanDisplayAnyCategory()

override bool CanDisplayAnyCategory ( )
inlineprotected

◆ CanOpenCloseContainerEx()

override bool CanOpenCloseContainerEx ( EntityAI focusedEntity)
inlineprotected

◆ Close()

override void Close ( )
inlineprotected

Definition at line 499 of file attachmentcategoriescontainer.c.

References m_CargoSlotsIcon, and OnHide().

◆ CollapseButtonOnMouseButtonDown()

◆ DraggingOverHeader()

◆ ExpandCollapseContainer()

override void ExpandCollapseContainer ( )
inlineprotected

◆ GetAttachmentCategoriesCount()

int GetAttachmentCategoriesCount ( string config_path)
inlineprotected

Definition at line 162 of file attachmentcategoriescontainer.c.

References g_Game.

Referenced by InitGhostSlots(), and InitIconsContainers().

◆ GetAttachmentCategory()

string GetAttachmentCategory ( string config_path_attachment_categories,
int i )
inlineprotected

Definition at line 226 of file attachmentcategoriescontainer.c.

References g_Game.

Referenced by InitGhostSlots().

◆ GetCargoSlotsIcon()

SlotsIcon GetCargoSlotsIcon ( )
inlineprotected

Definition at line 173 of file attachmentcategoriescontainer.c.

References m_CargoSlotsIcon.

◆ GetIconName()

string GetIconName ( string config_path_attachment_categories,
string attachment_category )
inlineprotected

Definition at line 233 of file attachmentcategoriescontainer.c.

References g_Game.

Referenced by InitGhostSlots().

◆ GetSlotsContainer()

SlotsContainer GetSlotsContainer ( int icons_row)
inlineprotected

◆ GetViewIndex()

int GetViewIndex ( string config_path_attachment_categories,
string attachment_category )
inlineprotected

Definition at line 241 of file attachmentcategoriescontainer.c.

References g_Game.

◆ InitGhostSlots()

◆ InitIconsContainers()

void InitIconsContainers ( )
inlineprotected

◆ IsDisplayable()

override bool IsDisplayable ( )
inlineprotected

Definition at line 49 of file attachmentcategoriescontainer.c.

References CanDisplayAnyCategory(), and Container::IsEmpty().

Referenced by Open().

◆ IsHeaderActive()

bool IsHeaderActive ( )
inlineprotected

◆ LoadAttachmentCategoriesIcon()

void LoadAttachmentCategoriesIcon ( SlotsContainer items_cont,
string icon_name,
int slot_number )
inlineprotected

◆ MouseClick()

void MouseClick ( Widget w)
inlineprotected

◆ OnDropReceivedFromHeader()

override void OnDropReceivedFromHeader ( Widget w,
int x,
int y,
Widget receiver )
inlineprotected

Definition at line 397 of file attachmentcategoriescontainer.c.

References g_Game, ItemPreviewWidget::GetItem(), m_Entity, name, x, and y.

◆ OnHide()

override void OnHide ( )
inlineprotected

◆ Open()

override void Open ( )
inlineprotected

◆ SetEntity()

◆ SetHeaderName()

void SetHeaderName ( )
inlineprotected

Definition at line 44 of file attachmentcategoriescontainer.c.

References CollapsibleContainer::m_CollapsibleHeader, and m_Entity.

Referenced by SetEntity().

◆ ShowInSlots()

void ShowInSlots ( string category,
bool show )
inlineprotected

◆ UpdateInterval()

◆ UpdateRadialIcon()

override void UpdateRadialIcon ( )
inlineprotected

Field Documentation

◆ m_CargoSlotsIcon

SlotsIcon m_CargoSlotsIcon
protected

◆ m_CategorySlotIndex

ref map<string, int> m_CategorySlotIndex
protected

◆ m_SlotsCount

int m_SlotsCount
protected

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