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

Protected Member Functions

void RightArea (LayoutHolder parent)
override bool CanTakeToInventory ()
override bool CanTakeToInventoryEx (EntityAI focusedEntity)
override bool Combine ()
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
override bool EquipItem ()
override void ExpandCollapseContainer ()
float GetCurrentContainerBottomY ()
float GetCurrentContainerTopY ()
PlayerContainer GetPlayerContainer ()
override ScrollWidget GetScrollWidget ()
Widget GetSlotsArea ()
Widget GetSlotsHeader ()
bool HasEntityContainerVisible (EntityAI entity)
override bool InspectItem ()
bool IsPlayerEquipmentActive ()
void MoveUpDownIcons ()
override void OnShow ()
override void Refresh ()
override bool Select ()
override bool SelectItem ()
override void SetLayoutName ()
override void SetParentWidget ()
override void SetSameLevelNextActive ()
override void SetSameLevelPreviousActive ()
override bool SplitItem ()
void SwapItemsInOrder (int slot1, int slot2)
override bool TransferItem ()
override bool TransferItemToVicinity ()
override void UnfocusGrid ()
override void UpdateInterval ()
override void UpdateSelectionIcons ()

Protected Attributes

Widget m_ContentParent
ref SizeToChild m_ContentResize
Widget m_DownIcon
bool m_ProcessGridMovement
ScrollWidget m_ScrollWidget
bool m_ShouldChangeSize = true
Widget m_SlotsContent
Widget m_SlotsHeader
Widget m_UpIcon

Private Attributes

ref PlayerContainer m_PlayerContainer
Private Attributes inherited from Container
TextWidget m_AlternateFalseHeaderTextWidget
int m_AttachmentSlotID = -1
CargoBase m_Cargo
Widget m_CargoContainer
Widget m_CargoHeader
int m_CargoIndex = -1
ref ClosableHeader m_ClosableHeader
TextWidget m_FalseHeaderTextWidget
int m_FocusedItemPosition = -1
ref array< ref Iconm_Icons
float m_IconSize
bool m_IsAttachment
Widget m_ItemsContainer
bool m_LockCargo
ref SizeToChild m_Resizer1
ref SizeToChild m_Resizer2
ref Timer m_ResizeTimer
ref array< ref CargoContainerRowm_Rows
ref map< EntityAI, ref Param3< ref Icon, int, int > > m_ShowedItemPositions
ref map< EntityAI, ref Param3< ref Icon, int, int > > m_ShowedLockPositions
float m_SpaceSize
const int ROWS_NUMBER_XBOX = 5

Additional Inherited Members

Private Member Functions inherited from Container
void ~CargoContainer ()
void AddedToCargo (EntityAI item)
void AddedToCargoEx (EntityAI item, bool refresh=true)
override bool CanCombineAmmo ()
void CargoContainer (LayoutHolder parent, bool is_attachment=false)
override void CheckHeaderDragability ()
void ClosableContainer (LayoutHolder parent, int sort=-1)
override void Close ()
void CloseButtonOnMouseButtonDown ()
override bool Combine ()
override LayoutHolder Get (int x)
int GetAttachmentSlotID ()
int GetCargoCapacity ()
int GetCargoIndex ()
EntityAI GetEntity ()
override float GetFocusedContainerHeight (bool contents=false)
override float GetFocusedContainerHeight (bool contents=false)
override float GetFocusedContainerYPos (bool contents=false)
override float GetFocusedContainerYPos (bool contents=false)
override float GetFocusedContainerYScreenPos (bool contents=false)
override float GetFocusedContainerYScreenPos (bool contents=false)
Icon GetFocusedIcon ()
override EntityAI GetFocusedItem ()
override Header GetHeader ()
Icon GetIcon (EntityAI item)
Icon GetIcon (int index)
int GetIconsCount ()
float GetIconSize ()
int GetMaxCargoCapacity ()
int GetRecipeCount (bool recipe_anywhere, ItemBase entity1, ItemBase entity2, PlayerBase player)
float GetSpaceSize ()
bool HasItem (EntityAI item)
void InitGridHeight ()
Icon InitIcon (Icon icon, EntityAI item, int pos_x, int pos_y)
Icon InitIconEx (Icon icon, EntityAI item, int pos_x, int pos_y, bool refresh=true)
override bool IsDisplayable ()
override bool IsEmpty ()
override bool IsItemActive ()
override bool IsItemWithQuantityActive ()
void MoveContainerDown (Widget cont)
void MoveContainerUp (Widget cont)
void MovedInCargo (EntityAI item)
override void OnShow ()
override void Open ()
override void Refresh ()
override void Refresh ()
void RefreshImpl ()
void ReleaseLock (EntityAI item)
void RemovedFromCargo (EntityAI item)
override bool Select ()
override bool SelectItem ()
override void SetActive (bool active)
void SetAlternateFalseTextHeaderWidget (TextWidget w)
void SetAttachmentSlotID (int slotID)
override void SetDefaultFocus (bool while_micromanagment_mode=false)
void SetEntity (EntityAI item, int cargo_index=0, bool immedUpdate=true)
override void SetLastActive ()
override void SetLastFocus ()
override void SetLayoutName ()
override void SetLayoutName ()
void SetLock (EntityAI item)
override void SetNextActive ()
override void SetNextLeftActive ()
override void SetNextRightActive ()
void SetOpenState (bool state)
override void SetPreviousActive (bool force=false)
void ShowFalseCargoHeader (bool show)
override bool TransferItem ()
override bool TransferItemToVicinity ()
override void Unfocus ()
override void UnfocusAll ()
void UpdateHeaderText ()
override void UpdateInterval ()
override void UpdateRadialIcon ()
void UpdateRowVisibility (int count)
void UpdateSelection ()
void UpdateSize ()

Detailed Description

Definition at line 1 of file rightarea.c.

Constructor & Destructor Documentation

◆ RightArea()

Member Function Documentation

◆ CanTakeToInventory()

override bool CanTakeToInventory ( )
inlineprotected

Definition at line 94 of file rightarea.c.

◆ CanTakeToInventoryEx()

override bool CanTakeToInventoryEx ( EntityAI focusedEntity)
inlineprotected

Definition at line 99 of file rightarea.c.

◆ Combine()

override bool Combine ( )
inlineprotected

Definition at line 59 of file rightarea.c.

References m_PlayerContainer.

◆ DraggingOverHeader()

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

Definition at line 44 of file rightarea.c.

References m_PlayerContainer, x, and y.

◆ EquipItem()

override bool EquipItem ( )
inlineprotected

Definition at line 69 of file rightarea.c.

References m_PlayerContainer.

◆ ExpandCollapseContainer()

override void ExpandCollapseContainer ( )
inlineprotected

Definition at line 131 of file rightarea.c.

References m_PlayerContainer.

◆ GetCurrentContainerBottomY()

float GetCurrentContainerBottomY ( )
inlineprotected

◆ GetCurrentContainerTopY()

float GetCurrentContainerTopY ( )
inlineprotected

Definition at line 235 of file rightarea.c.

References Container::GetFocusedContainerYScreenPos(), x, and y.

Referenced by MoveUpDownIcons().

◆ GetPlayerContainer()

PlayerContainer GetPlayerContainer ( )
inlineprotected

Definition at line 39 of file rightarea.c.

References m_PlayerContainer.

◆ GetScrollWidget()

override ScrollWidget GetScrollWidget ( )
inlineprotected

Definition at line 222 of file rightarea.c.

References m_ScrollWidget.

◆ GetSlotsArea()

Widget GetSlotsArea ( )
inlineprotected

Definition at line 256 of file rightarea.c.

References m_SlotsContent.

Referenced by PlayerContainer::PlayerContainer().

◆ GetSlotsHeader()

Widget GetSlotsHeader ( )
inlineprotected

Definition at line 261 of file rightarea.c.

References m_SlotsHeader.

Referenced by PlayerContainer::PlayerContainer().

◆ HasEntityContainerVisible()

bool HasEntityContainerVisible ( EntityAI entity)
inlineprotected

Definition at line 104 of file rightarea.c.

References m_PlayerContainer.

◆ InspectItem()

override bool InspectItem ( )
inlineprotected

Definition at line 79 of file rightarea.c.

References m_PlayerContainer.

◆ IsPlayerEquipmentActive()

bool IsPlayerEquipmentActive ( )
inlineprotected

Definition at line 114 of file rightarea.c.

References m_PlayerContainer.

◆ MoveUpDownIcons()

void MoveUpDownIcons ( )
inlineprotected

◆ OnShow()

override void OnShow ( )
inlineprotected

Definition at line 169 of file rightarea.c.

References Refresh().

◆ Refresh()

override void Refresh ( )
inlineprotected

◆ Select()

override bool Select ( )
inlineprotected

Definition at line 49 of file rightarea.c.

References m_PlayerContainer.

◆ SelectItem()

override bool SelectItem ( )
inlineprotected

Definition at line 54 of file rightarea.c.

References m_PlayerContainer.

◆ SetLayoutName()

◆ SetParentWidget()

override void SetParentWidget ( )
inlineprotected

Definition at line 164 of file rightarea.c.

References m_Parent, and m_ParentWidget.

◆ SetSameLevelNextActive()

override void SetSameLevelNextActive ( )
inlineprotected

Definition at line 119 of file rightarea.c.

References Refresh().

◆ SetSameLevelPreviousActive()

override void SetSameLevelPreviousActive ( )
inlineprotected

Definition at line 125 of file rightarea.c.

References Refresh().

◆ SplitItem()

override bool SplitItem ( )
inlineprotected

Definition at line 64 of file rightarea.c.

References m_PlayerContainer.

◆ SwapItemsInOrder()

void SwapItemsInOrder ( int slot1,
int slot2 )
inlineprotected

Definition at line 109 of file rightarea.c.

References m_PlayerContainer.

◆ TransferItem()

override bool TransferItem ( )
inlineprotected

Definition at line 74 of file rightarea.c.

References m_PlayerContainer.

◆ TransferItemToVicinity()

override bool TransferItemToVicinity ( )
inlineprotected

Definition at line 84 of file rightarea.c.

References m_PlayerContainer.

◆ UnfocusGrid()

override void UnfocusGrid ( )
inlineprotected

Definition at line 89 of file rightarea.c.

References m_PlayerContainer.

◆ UpdateInterval()

override void UpdateInterval ( )
inlineprotected

Definition at line 175 of file rightarea.c.

References m_PlayerContainer.

◆ UpdateSelectionIcons()

override void UpdateSelectionIcons ( )
inlineprotected

Definition at line 227 of file rightarea.c.

References MoveUpDownIcons().

Field Documentation

◆ m_ContentParent

Widget m_ContentParent
protected

Definition at line 4 of file rightarea.c.

◆ m_ContentResize

ref SizeToChild m_ContentResize
protected

Definition at line 12 of file rightarea.c.

◆ m_DownIcon

Widget m_DownIcon
protected

Definition at line 10 of file rightarea.c.

Referenced by RightArea(), and MoveUpDownIcons().

◆ m_PlayerContainer

◆ m_ProcessGridMovement

bool m_ProcessGridMovement
protected

Definition at line 14 of file rightarea.c.

Referenced by RightArea().

◆ m_ScrollWidget

ScrollWidget m_ScrollWidget
protected

Definition at line 8 of file rightarea.c.

Referenced by RightArea(), GetScrollWidget(), and Refresh().

◆ m_ShouldChangeSize

bool m_ShouldChangeSize = true
protected

Definition at line 13 of file rightarea.c.

Referenced by Refresh().

◆ m_SlotsContent

Widget m_SlotsContent
protected

Definition at line 7 of file rightarea.c.

Referenced by RightArea(), and GetSlotsArea().

◆ m_SlotsHeader

Widget m_SlotsHeader
protected

Definition at line 6 of file rightarea.c.

Referenced by RightArea(), and GetSlotsHeader().

◆ m_UpIcon

Widget m_UpIcon
protected

Definition at line 9 of file rightarea.c.

Referenced by RightArea(), and MoveUpDownIcons().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/5_mission/gui/inventorynew/areas/rightarea.c