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

Protected Member Functions

void CargoContainerRow (LayoutHolder parent)
void Column0 (Widget w)
void Column1 (Widget w)
void Column2 (Widget w)
void Column3 (Widget w)
void Column4 (Widget w)
void Column5 (Widget w)
void Column6 (Widget w)
void Column7 (Widget w)
void Column8 (Widget w)
void Column9 (Widget w)
void ColumnOnDraggingOver0 (Widget w)
 !-—
void ColumnOnDraggingOver1 (Widget w)
void ColumnOnDraggingOver2 (Widget w)
void ColumnOnDraggingOver3 (Widget w)
void ColumnOnDraggingOver4 (Widget w)
void ColumnOnDraggingOver5 (Widget w)
void ColumnOnDraggingOver6 (Widget w)
void ColumnOnDraggingOver7 (Widget w)
void ColumnOnDraggingOver8 (Widget w)
void ColumnOnDraggingOver9 (Widget w)
void DraggingOver (Widget w, int x, int y, Widget receiver)
void DropReceived (Widget w, int x, int y, Widget receiver)
int GetFocusedColumn ()
bool GetIconSize (int row, int column, out int width, out int height)
int GetWidth ()
override void OnHide ()
override void OnShow ()
 !-—
void SetEntity (EntityAI entity)
void SetFocus (int column)
override void SetLayoutName ()
void SetNumber (int number)
void SetWidth (int width, bool immedUpdate=true)
void UnfocusAll ()

Protected Attributes

EntityAI m_Entity
int m_MaxColumns
int m_NumberColumnFocused
int m_NumberRow
CargoContainer m_ParentContainer
ref SizeToChild m_Resizer1
ref SizeToParent m_Resizer2
int m_Width

Additional Inherited Members

Private Member Functions inherited from LayoutHolder
bool AddItemToQuickbarRadial (EntityAI itemToAssign)
bool CanAddToQuickbarEx (EntityAI focusedEntity)
bool CanCombine ()
bool CanCombineAmmo ()
bool CanCombineEx (EntityAI focusedEntity)
bool CanDrop ()
bool CanDropEx (EntityAI focusedEntity)
bool CanEquip ()
bool CanEquipEx (EntityAI focusedEntity)
bool CanOpenCloseContainer ()
bool CanOpenCloseContainerEx (EntityAI focusedEntity)
bool CanSplit ()
bool CanSplitEx (EntityAI focusedEntity)
bool CanSwapOrTakeToHands ()
bool CanSwapOrTakeToHandsEx (EntityAI focusedEntity)
bool CanTakeToInventory ()
bool CanTakeToInventoryEx (EntityAI focusedEntity)
void CheckHeaderDragability ()
void CheckScrollbarVisibility ()
void CheckScrollbarVisibility (ScrollWidget sw)
void Close ()
bool Combine ()
void Container (LayoutHolder parent)
int Count ()
void DraggingOver (Widget w, int x, int y, Widget receiver)
void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
bool EquipItem ()
void ExpandCollapseContainer ()
LayoutHolder Get (int x)
int GetActiveIndex ()
int GetColumnCount ()
Container GetContainer (int index)
int GetFocusedColumn ()
Container GetFocusedContainer ()
EntityAI GetFocusedContainerEntity ()
float GetFocusedContainerHeight (bool contents=false)
float GetFocusedContainerYPos (bool contents=false)
float GetFocusedContainerYScreenPos (bool contents=false)
EntityAI GetFocusedItem ()
SlotsIcon GetFocusedSlotsIcon ()
Header GetHeader ()
ScrollWidget GetScrollWidget ()
ScrollWidget GetSlotsScrollWidget ()
void HideContent (bool force_hide=false)
void Insert (LayoutHolder container, int pos=-1, bool immedUpdate=true)
bool InspectItem ()
bool IsEmpty ()
bool IsFirstContainerFocused ()
bool IsFirstIndex ()
bool IsItemActive ()
bool IsItemWithQuantityActive ()
bool IsLastContainerFocused ()
bool IsLastIndex ()
bool IsOpened ()
void MoveGridCursor (int direction)
void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
bool OnSelectButton ()
void Open ()
void RecomputeOpenedContainers ()
override void Refresh ()
void Remove (LayoutHolder container)
void ResetFocusedContainer ()
void ScrollToActiveContainer ()
void ScrollToActiveContainer (ScrollWidget sw)
bool Select ()
bool SelectItem ()
override void SetActive (bool active)
void SetActiveIndex (int index)
void SetColumnCount (int count)
void SetDefaultFocus (bool while_micromanagment_mode=false)
override void SetFirstActive ()
void SetFocusedColumn (int column)
void SetFocusedContainer (Container cont)
void SetForceShow (bool value)
void SetHeader (Header header)
override void SetLastActive ()
void SetLastFocus ()
override void SetLayoutName ()
void SetNextActive ()
void SetNextLeftActive ()
void SetNextRightActive ()
void SetOpenForSlotIcon (bool open, SlotsIcon icon=null)
void SetPreviousActive (bool force=false)
void SetSameLevelNextActive ()
void SetSameLevelPreviousActive ()
void SetSlotIcon (SlotsIcon icon)
void ShowContent (bool force_show=false)
bool SplitItem ()
void Toggle ()
bool TransferItem ()
bool TransferItemToVicinity ()
void Unfocus ()
void UnfocusAll ()
void UnfocusGrid ()
void UpdateBodySpacers ()
override void UpdateInterval ()
void UpdateRadialIcon ()
override void UpdateSelectionIcons ()
void UpdateSpacer ()
Private Attributes inherited from LayoutHolder
const int ITEMS_IN_ROW = 8
int m_ActiveIndex = 0
ref array< ref LayoutHolderm_Body
bool m_Closed
int m_ColumnCount
EntityAI m_Entity
int m_FocusedColumn = 0
Container m_FocusedContainer
bool m_ForcedHide
bool m_ForcedShow
bool m_LastIndex
ref array< LayoutHolderm_OpenedContainers
float m_PrevAlpha
SlotsIcon m_SlotIcon
const int SORT_ATTACHMENTS_NEXT_OFFSET = 2
const int SORT_ATTACHMENTS_OWN = 1
const int SORT_CARGO_NEXT_OFFSET = 3
const int SORT_CARGO_OWN = 2

Detailed Description

Definition at line 1 of file cargocontainerrow.c.

Constructor & Destructor Documentation

◆ CargoContainerRow()

Member Function Documentation

◆ Column0()

void Column0 ( Widget w)
inlineprotected

Definition at line 414 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column1()

void Column1 ( Widget w)
inlineprotected

Definition at line 434 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column2()

void Column2 ( Widget w)
inlineprotected

Definition at line 454 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column3()

void Column3 ( Widget w)
inlineprotected

Definition at line 474 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column4()

void Column4 ( Widget w)
inlineprotected

Definition at line 494 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column5()

void Column5 ( Widget w)
inlineprotected

Definition at line 514 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column6()

void Column6 ( Widget w)
inlineprotected

Definition at line 534 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column7()

void Column7 ( Widget w)
inlineprotected

Definition at line 554 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column8()

void Column8 ( Widget w)
inlineprotected

Definition at line 574 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ Column9()

void Column9 ( Widget w)
inlineprotected

Definition at line 594 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver0()

void ColumnOnDraggingOver0 ( Widget w)
inlineprotected

!-—

Definition at line 214 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver1()

void ColumnOnDraggingOver1 ( Widget w)
inlineprotected

Definition at line 234 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver2()

void ColumnOnDraggingOver2 ( Widget w)
inlineprotected

Definition at line 254 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver3()

void ColumnOnDraggingOver3 ( Widget w)
inlineprotected

Definition at line 274 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver4()

void ColumnOnDraggingOver4 ( Widget w)
inlineprotected

Definition at line 294 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver5()

void ColumnOnDraggingOver5 ( Widget w)
inlineprotected

Definition at line 314 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver6()

void ColumnOnDraggingOver6 ( Widget w)
inlineprotected

Definition at line 334 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver7()

void ColumnOnDraggingOver7 ( Widget w)
inlineprotected

Definition at line 354 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver8()

void ColumnOnDraggingOver8 ( Widget w)
inlineprotected

Definition at line 374 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ ColumnOnDraggingOver9()

void ColumnOnDraggingOver9 ( Widget w)
inlineprotected

Definition at line 394 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, and m_ParentContainer.

◆ DraggingOver()

void DraggingOver ( Widget w,
int x,
int y,
Widget receiver )
inlineprotected

Definition at line 192 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, m_ParentContainer, x, and y.

◆ DropReceived()

void DropReceived ( Widget w,
int x,
int y,
Widget receiver )
inlineprotected

Definition at line 172 of file cargocontainerrow.c.

References m_NumberRow, m_Parent, m_ParentContainer, x, and y.

◆ GetFocusedColumn()

int GetFocusedColumn ( )
inlineprotected

Definition at line 134 of file cargocontainerrow.c.

References m_NumberColumnFocused.

◆ GetIconSize()

bool GetIconSize ( int row,
int column,
out int width,
out int height )
inlineprotected

◆ GetWidth()

int GetWidth ( )
inlineprotected

Definition at line 630 of file cargocontainerrow.c.

References m_Width.

◆ OnHide()

override void OnHide ( )
inlineprotected

Definition at line 620 of file cargocontainerrow.c.

◆ OnShow()

override void OnShow ( )
inlineprotected

!-—

Definition at line 615 of file cargocontainerrow.c.

◆ SetEntity()

void SetEntity ( EntityAI entity)
inlineprotected

Definition at line 167 of file cargocontainerrow.c.

References m_Entity.

◆ SetFocus()

void SetFocus ( int column)
inlineprotected

◆ SetLayoutName()

◆ SetNumber()

void SetNumber ( int number)
inlineprotected

Definition at line 625 of file cargocontainerrow.c.

References m_NumberRow.

◆ SetWidth()

void SetWidth ( int width,
bool immedUpdate = true )
inlineprotected

Definition at line 635 of file cargocontainerrow.c.

References m_MaxColumns, m_Resizer1, m_Resizer2, and m_Width.

◆ UnfocusAll()

void UnfocusAll ( )
inlineprotected

Field Documentation

◆ m_Entity

EntityAI m_Entity
protected

Definition at line 8 of file cargocontainerrow.c.

Referenced by GetIconSize(), SetEntity(), SetFocus(), and UnfocusAll().

◆ m_MaxColumns

int m_MaxColumns
protected

Definition at line 6 of file cargocontainerrow.c.

Referenced by CargoContainerRow(), SetWidth(), and UnfocusAll().

◆ m_NumberColumnFocused

int m_NumberColumnFocused
protected

Definition at line 4 of file cargocontainerrow.c.

Referenced by GetFocusedColumn(), SetFocus(), and UnfocusAll().

◆ m_NumberRow

◆ m_ParentContainer

◆ m_Resizer1

ref SizeToChild m_Resizer1
protected

Definition at line 11 of file cargocontainerrow.c.

Referenced by CargoContainerRow(), and SetWidth().

◆ m_Resizer2

ref SizeToParent m_Resizer2
protected

Definition at line 12 of file cargocontainerrow.c.

Referenced by CargoContainerRow(), and SetWidth().

◆ m_Width

int m_Width
protected

Definition at line 5 of file cargocontainerrow.c.

Referenced by GetWidth(), and SetWidth().


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