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

Protected Member Functions

void AttachmentCategoriesRow (LayoutHolder parent, int sort=-1)
override bool CanCombine ()
override bool CanCombineAmmo ()
override bool Combine ()
void DoubleClick (Widget w, int x, int y, int button)
bool DraggingOverGrid (Widget w, int x, int y, Widget reciever, CargoContainer cargo)
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
void DropReceived (Widget w, int x, int y, CargoContainer cargo)
override bool EquipItem ()
string GetCategoryIdentifier ()
int GetFocusedSlot ()
EntityAI GetItemPreviewItem (Widget w)
void Init (int attachments_categories_count, int i, string attachment_category, string config_path_attachment_categories, EntityAI entity, int parent_m_Body_count)
override bool IsItemActive ()
override bool IsItemWithQuantityActive ()
void MouseClick (Widget w, int x, int y, int button)
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
override void Refresh ()
void RefreshAllSlots ()
void RefreshSlot (int row, int column, int slot_id, string slot_name)
override bool Select ()
override bool TransferItem ()
override bool TransferItemToVicinity ()
override void UnfocusAll ()
override void UpdateInterval ()

Protected Attributes

ref map< int, ref ContainerWithCargom_AttachmentCargos
ref AttachmentsGroupContainer m_AttachmentsContainer
string m_CategoryIdentifier
bool m_Refreshing
string m_RowConfigPath

Additional Inherited Members

Private Member Functions inherited from ClosableContainer
void ~ContainerWithCargoAndAttachments ()
void AttachmentAdded (EntityAI item, string slot, EntityAI parent)
void AttachmentAddedEx (EntityAI item, string slot, EntityAI parent, bool immedUpdate=true)
void AttachmentRemoved (EntityAI item, string slot, EntityAI parent)
override bool CanCombine ()
override bool CanCombineAmmo ()
override void Close ()
void ContainerWithCargo (LayoutHolder parent, int sort=-1)
void ContainerWithCargoAndAttachments (LayoutHolder parent, int sort=-1)
void DoubleClick (Widget w, int x, int y, int button)
override void DraggingOver (Widget w, int x, int y, Widget receiver)
override void DraggingOver (Widget w, int x, int y, Widget receiver)
bool DraggingOverGrid (Widget w, int x, int y, Widget reciever)
bool DraggingOverGrid (Widget w, int x, int y, Widget reciever, CargoContainer cargo)
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
void DropReceived (Widget w, int x, int y)
void DropReceived (Widget w, int x, int y, CargoContainer cargo)
 NOTE Used for mouse only.
override bool EquipItem ()
map< EntityAI, ref AttachmentsWrapperGetAttachmentAttachmentsContainers ()
map< EntityAI, ref CargoContainer > GetAttachmentCargos ()
CargoContainer GetCargo ()
CargoContainer GetCargo ()
EntityAI GetEntity ()
EntityAI GetEntity ()
override EntityAI GetFocusedContainerEntity ()
override EntityAI GetFocusedContainerEntity ()
EntityAI GetItemPreviewItem (Widget w)
EntityAI GetItemPreviewItem (Widget w)
Widget GetItemPreviewWidget (Widget w)
ItemPreviewWidget GetItemPreviewWidgetDragOrDrop (Widget w)
void HideCargo ()
override bool InspectItem ()
override bool IsDisplayable ()
override bool IsEmpty ()
override bool IsFirstContainerFocused ()
override bool IsFirstContainerFocused ()
override bool IsItemActive ()
override bool IsItemWithQuantityActive ()
override bool IsLastContainerFocused ()
override bool IsLastContainerFocused ()
override bool IsLastIndex ()
override bool IsOpened ()
void LockCargo (bool value)
void MouseClick2 (Widget w, int x, int y, int button)
override void MoveGridCursor (int direction)
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
void OnDropReceivedFromHeader2 (Widget w, int x, int y, Widget receiver)
override void Open ()
void RecomputeContainers ()
override void SetDefaultFocus (bool while_micromanagment_mode=false)
void SetEntity (EntityAI entity, bool immedUpdate=true)
void SetEntity (EntityAI entity, int cargo_index=0, bool immedUpdate=true)
void ShowCargo ()
override bool SplitItem ()
void TakeAsAttachment (Widget w, Widget receiver)
void TakeIntoHands (notnull PlayerBase player, notnull EntityAI item)
override bool TransferItem ()
override bool TransferItemToVicinity ()
override void UnfocusAll ()
override void UnfocusAll ()
override void UpdateInterval ()
override void UpdateInterval ()
Private Attributes inherited from ClosableContainer
ref map< EntityAI, ref Attachmentsm_AttachmentAttachments
ref map< EntityAI, ref AttachmentsWrapperm_AttachmentAttachmentsContainers
ref map< EntityAI, ref CargoContainer > m_AttachmentCargos
ref array< intm_AttachmentSlotsSorted
ref Attachments m_Atts
ref CargoContainer m_CargoGrid
int m_CargoIndex = -1

Detailed Description

Definition at line 1 of file attachmentcategoriesrow.c.

Constructor & Destructor Documentation

◆ AttachmentCategoriesRow()

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

Member Function Documentation

◆ CanCombine()

◆ CanCombineAmmo()

override bool CanCombineAmmo ( )
inlineprotected

Definition at line 281 of file attachmentcategoriesrow.c.

◆ Combine()

◆ DoubleClick()

void DoubleClick ( Widget w,
int x,
int y,
int button )
inlineprotected

◆ DraggingOverGrid()

bool DraggingOverGrid ( Widget w,
int x,
int y,
Widget reciever,
CargoContainer cargo )
inlineprotected

◆ DraggingOverHeader()

◆ DropReceived()

◆ EquipItem()

override bool EquipItem ( )
inlineprotected

Definition at line 231 of file attachmentcategoriesrow.c.

◆ GetCategoryIdentifier()

string GetCategoryIdentifier ( )
inlineprotected

◆ GetFocusedSlot()

int GetFocusedSlot ( )
inlineprotected

Definition at line 28 of file attachmentcategoriesrow.c.

References SlotsIcon::GetSlotID().

Referenced by CanCombine(), and Combine().

◆ GetItemPreviewItem()

EntityAI GetItemPreviewItem ( Widget w)
inlineprotected

◆ Init()

◆ IsItemActive()

override bool IsItemActive ( )
inlineprotected

Definition at line 286 of file attachmentcategoriesrow.c.

References SlotsIcon::IsOutOfReach().

◆ IsItemWithQuantityActive()

override bool IsItemWithQuantityActive ( )
inlineprotected

Definition at line 292 of file attachmentcategoriesrow.c.

References ItemBase::CanBeSplit(), and SlotsIcon::IsOutOfReach().

◆ MouseClick()

◆ OnDropReceivedFromHeader()

◆ Refresh()

override void Refresh ( )
inlineprotected

Definition at line 625 of file attachmentcategoriesrow.c.

References m_Refreshing, and RefreshAllSlots().

Referenced by DropReceived().

◆ RefreshAllSlots()

void RefreshAllSlots ( )
inlineprotected

Definition at line 637 of file attachmentcategoriesrow.c.

References m_AttachmentsContainer, m_Refreshing, and RefreshSlot().

Referenced by Init(), Refresh(), and UpdateInterval().

◆ RefreshSlot()

◆ Select()

◆ TransferItem()

override bool TransferItem ( )
inlineprotected

Definition at line 131 of file attachmentcategoriesrow.c.

References g_Game, and SlotsIcon::IsOutOfReach().

◆ TransferItemToVicinity()

override bool TransferItemToVicinity ( )
inlineprotected

Definition at line 147 of file attachmentcategoriesrow.c.

References g_Game, and SlotsIcon::IsOutOfReach().

◆ UnfocusAll()

override void UnfocusAll ( )
inlineprotected

Definition at line 392 of file attachmentcategoriesrow.c.

References Count, Get(), ITEMS_IN_ROW, and m_AttachmentCargos.

◆ UpdateInterval()

override void UpdateInterval ( )
inlineprotected

Field Documentation

◆ m_AttachmentCargos

ref map<int, ref ContainerWithCargo> m_AttachmentCargos
protected

◆ m_AttachmentsContainer

ref AttachmentsGroupContainer m_AttachmentsContainer
protected

◆ m_CategoryIdentifier

string m_CategoryIdentifier
protected

Definition at line 3 of file attachmentcategoriesrow.c.

Referenced by GetCategoryIdentifier(), and Init().

◆ m_Refreshing

bool m_Refreshing
protected

Definition at line 5 of file attachmentcategoriesrow.c.

Referenced by AttachmentCategoriesRow(), Refresh(), and RefreshAllSlots().

◆ m_RowConfigPath

string m_RowConfigPath
protected

Definition at line 4 of file attachmentcategoriesrow.c.

Referenced by Init().


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