Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
HandsContainer Class Reference
Inheritance diagram for HandsContainer:
Container

Protected Member Functions

void HandsContainer (LayoutHolder parent)
 
void ~HandsContainer ()
 
void ResetContainer ()
 
override Header GetHeader ()
 
override bool IsLastIndex ()
 
void SetFocusToIndex ()
 
void ScrollToActiveContainer (Container active_container)
 
override void Insert (LayoutHolder container, int pos=-1, bool immedUpdate=true)
 
override bool TransferItem ()
 
override bool SplitItem ()
 
override bool EquipItem ()
 
override void SetActive (bool active)
 
override void SetLastActive ()
 
override void Refresh ()
 
override bool IsItemActive ()
 
override bool IsItemWithQuantityActive ()
 
override bool IsEmpty ()
 
override bool TransferItemToVicinity ()
 
override bool InspectItem ()
 
override bool OnSelectButton ()
 
EntityAI GetItemPreviewItem (Widget w)
 
override void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
 
void OnDropReceivedFromHeader2 (Widget w, int x, int y, Widget receiver)
 
void OnPerformCombination (int combinationFlags)
 
void ShowActionMenuCombine (EntityAI entity1, EntityAI entity2, int combinationFlags)
 
override void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
 
int GetCombinationFlags (EntityAI entity1, EntityAI entity2)
 
int GetRecipeCount (bool recipe_anywhere, EntityAI entity1, EntityAI entity2)
 
void RemoveItem ()
 
void DestroyAtt ()
 
override void UnfocusGrid ()
 
override void UnfocusAll ()
 
void DestroyCargo ()
 
void DropReceived (Widget w, int x, int y, CargoContainer cargo)
 
bool DraggingOverGrid (Widget w, int x, int y, Widget reciever, CargoContainer cargo)
 
void TakeAsAttachment (Widget w, Widget receiver)
 
void ShowAtt (EntityAI entity)
 
void RefreshHands ()
 
void AttachmentAdded (EntityAI item, string slot, EntityAI parent)
 
void AttachmentRemoved (EntityAI item, string slot, EntityAI parent)
 
override void UpdateInterval ()
 
override void SetLayoutName ()
 
override void OnShow ()
 
void MouseClick2 (Widget w, int x, int y, int button)
 
void DoubleClick (Widget w, int x, int y, int button)
 
void DraggingOverHeader2 (Widget w, int x, int y, Widget receiver)
 
void ElectricityIcon ()
 
void CollapseButtonOnMouseButtonDown (Widget w)
 
void HideCargo ()
 
void ShowCargo ()
 

Protected Attributes

bool m_Hidden
 
ref HandsHeader m_CollapsibleHeader
 
ref HandsPreview m_HandsPreview
 
ref Attachments m_Atts
 
ref CargoContainer m_CargoGrid
 
ref map< EntityAI, ref CargoContainerm_AttachmentCargos
 
ref map< EntityAI, AttachmentsWrapperm_AttachmentAttachmentsContainers
 
ref map< EntityAI, ref Attachmentsm_AttachmentAttachments
 
ref array< intm_AttachmentSlotsSorted
 
int m_StaticAttCount = 0
 
int m_StaticCargoCount = 0
 
ScrollWidget m_ScrollWidget
 

Detailed Description

Definition at line 1 of file handscontainer.c.

Constructor & Destructor Documentation

◆ HandsContainer()

void HandsContainer::HandsContainer ( LayoutHolder parent)
protected

Definition at line 20 of file handscontainer.c.

◆ ~HandsContainer()

void HandsContainer::~HandsContainer ( )
protected

Definition at line 43 of file handscontainer.c.

Member Function Documentation

◆ AttachmentAdded()

void HandsContainer::AttachmentAdded ( EntityAI item,
string slot,
EntityAI parent )
protected

Definition at line 1288 of file handscontainer.c.

◆ AttachmentRemoved()

void HandsContainer::AttachmentRemoved ( EntityAI item,
string slot,
EntityAI parent )
protected

Definition at line 1343 of file handscontainer.c.

◆ CollapseButtonOnMouseButtonDown()

void HandsContainer::CollapseButtonOnMouseButtonDown ( Widget w)
protected

Definition at line 1555 of file handscontainer.c.

◆ DestroyAtt()

void HandsContainer::DestroyAtt ( )
protected

Definition at line 889 of file handscontainer.c.

◆ DestroyCargo()

void HandsContainer::DestroyCargo ( )
protected

Definition at line 954 of file handscontainer.c.

◆ DoubleClick()

void HandsContainer::DoubleClick ( Widget w,
int x,
int y,
int button )
protected

Definition at line 1477 of file handscontainer.c.

◆ DraggingOverGrid()

bool HandsContainer::DraggingOverGrid ( Widget w,
int x,
int y,
Widget reciever,
CargoContainer cargo )
protected

Definition at line 1066 of file handscontainer.c.

◆ DraggingOverHeader()

override void HandsContainer::DraggingOverHeader ( Widget w,
int x,
int y,
Widget receiver )
protected

Definition at line 460 of file handscontainer.c.

◆ DraggingOverHeader2()

void HandsContainer::DraggingOverHeader2 ( Widget w,
int x,
int y,
Widget receiver )
protected

Definition at line 1527 of file handscontainer.c.

◆ DropReceived()

void HandsContainer::DropReceived ( Widget w,
int x,
int y,
CargoContainer cargo )
protected

Definition at line 977 of file handscontainer.c.

◆ ElectricityIcon()

void HandsContainer::ElectricityIcon ( )
protected

Definition at line 1532 of file handscontainer.c.

◆ EquipItem()

override bool HandsContainer::EquipItem ( )
protected

Definition at line 235 of file handscontainer.c.

◆ GetCombinationFlags()

int HandsContainer::GetCombinationFlags ( EntityAI entity1,
EntityAI entity2 )
protected

Definition at line 791 of file handscontainer.c.

◆ GetHeader()

override Header HandsContainer::GetHeader ( )
protected

Definition at line 62 of file handscontainer.c.

◆ GetItemPreviewItem()

EntityAI HandsContainer::GetItemPreviewItem ( Widget w)
protected

Definition at line 437 of file handscontainer.c.

◆ GetRecipeCount()

int HandsContainer::GetRecipeCount ( bool recipe_anywhere,
EntityAI entity1,
EntityAI entity2 )
protected

Definition at line 877 of file handscontainer.c.

◆ HideCargo()

void HandsContainer::HideCargo ( )
protected

Definition at line 1581 of file handscontainer.c.

◆ Insert()

override void HandsContainer::Insert ( LayoutHolder container,
int pos = -1,
bool immedUpdate = true )
protected

Definition at line 182 of file handscontainer.c.

◆ InspectItem()

override bool HandsContainer::InspectItem ( )
protected

Definition at line 385 of file handscontainer.c.

◆ IsEmpty()

override bool HandsContainer::IsEmpty ( )
protected

Definition at line 352 of file handscontainer.c.

◆ IsItemActive()

override bool HandsContainer::IsItemActive ( )
protected

Definition at line 330 of file handscontainer.c.

◆ IsItemWithQuantityActive()

override bool HandsContainer::IsItemWithQuantityActive ( )
protected

Definition at line 341 of file handscontainer.c.

◆ IsLastIndex()

override bool HandsContainer::IsLastIndex ( )
protected

Definition at line 67 of file handscontainer.c.

◆ MouseClick2()

void HandsContainer::MouseClick2 ( Widget w,
int x,
int y,
int button )
protected

Definition at line 1423 of file handscontainer.c.

◆ OnDropReceivedFromHeader()

override void HandsContainer::OnDropReceivedFromHeader ( Widget w,
int x,
int y,
Widget receiver )
protected

Definition at line 786 of file handscontainer.c.

◆ OnDropReceivedFromHeader2()

void HandsContainer::OnDropReceivedFromHeader2 ( Widget w,
int x,
int y,
Widget receiver )
protected

Definition at line 620 of file handscontainer.c.

◆ OnPerformCombination()

void HandsContainer::OnPerformCombination ( int combinationFlags)
protected

Definition at line 625 of file handscontainer.c.

◆ OnSelectButton()

override bool HandsContainer::OnSelectButton ( )
protected

Definition at line 404 of file handscontainer.c.

◆ OnShow()

override void HandsContainer::OnShow ( )
protected

Definition at line 1413 of file handscontainer.c.

◆ Refresh()

override void HandsContainer::Refresh ( )
protected

Definition at line 324 of file handscontainer.c.

◆ RefreshHands()

void HandsContainer::RefreshHands ( )
protected

Definition at line 1278 of file handscontainer.c.

◆ RemoveItem()

void HandsContainer::RemoveItem ( )
protected

Definition at line 883 of file handscontainer.c.

◆ ResetContainer()

void HandsContainer::ResetContainer ( )
protected

Definition at line 56 of file handscontainer.c.

◆ ScrollToActiveContainer()

void HandsContainer::ScrollToActiveContainer ( Container active_container)
protected

Definition at line 160 of file handscontainer.c.

◆ SetActive()

override void HandsContainer::SetActive ( bool active)
protected

Definition at line 269 of file handscontainer.c.

◆ SetFocusToIndex()

void HandsContainer::SetFocusToIndex ( )
protected

Definition at line 72 of file handscontainer.c.

◆ SetLastActive()

override void HandsContainer::SetLastActive ( )
protected

Definition at line 298 of file handscontainer.c.

◆ SetLayoutName()

override void HandsContainer::SetLayoutName ( )
protected

Definition at line 1408 of file handscontainer.c.

◆ ShowActionMenuCombine()

void HandsContainer::ShowActionMenuCombine ( EntityAI entity1,
EntityAI entity2,
int combinationFlags )
protected

Definition at line 727 of file handscontainer.c.

◆ ShowAtt()

void HandsContainer::ShowAtt ( EntityAI entity)
protected

Definition at line 1219 of file handscontainer.c.

◆ ShowCargo()

void HandsContainer::ShowCargo ( )
protected

Definition at line 1590 of file handscontainer.c.

◆ SplitItem()

override bool HandsContainer::SplitItem ( )
protected

Definition at line 212 of file handscontainer.c.

◆ TakeAsAttachment()

void HandsContainer::TakeAsAttachment ( Widget w,
Widget receiver )
protected

Definition at line 1115 of file handscontainer.c.

◆ TransferItem()

override bool HandsContainer::TransferItem ( )
protected

Definition at line 187 of file handscontainer.c.

◆ TransferItemToVicinity()

override bool HandsContainer::TransferItemToVicinity ( )
protected

Definition at line 358 of file handscontainer.c.

◆ UnfocusAll()

override void HandsContainer::UnfocusAll ( )
protected

Definition at line 949 of file handscontainer.c.

◆ UnfocusGrid()

override void HandsContainer::UnfocusGrid ( )
protected

Definition at line 919 of file handscontainer.c.

◆ UpdateInterval()

override void HandsContainer::UpdateInterval ( )
protected

Definition at line 1372 of file handscontainer.c.

Member Data Documentation

◆ m_AttachmentAttachments

ref map<EntityAI, ref Attachments> HandsContainer::m_AttachmentAttachments
protected

Definition at line 12 of file handscontainer.c.

◆ m_AttachmentAttachmentsContainers

ref map<EntityAI, AttachmentsWrapper> HandsContainer::m_AttachmentAttachmentsContainers
protected

Definition at line 11 of file handscontainer.c.

◆ m_AttachmentCargos

ref map<EntityAI, ref CargoContainer> HandsContainer::m_AttachmentCargos
protected

Definition at line 10 of file handscontainer.c.

◆ m_AttachmentSlotsSorted

ref array<int> HandsContainer::m_AttachmentSlotsSorted
protected

Definition at line 13 of file handscontainer.c.

◆ m_Atts

ref Attachments HandsContainer::m_Atts
protected

Definition at line 7 of file handscontainer.c.

◆ m_CargoGrid

ref CargoContainer HandsContainer::m_CargoGrid
protected

Definition at line 8 of file handscontainer.c.

◆ m_CollapsibleHeader

ref HandsHeader HandsContainer::m_CollapsibleHeader
protected

Definition at line 4 of file handscontainer.c.

◆ m_HandsPreview

ref HandsPreview HandsContainer::m_HandsPreview
protected

Definition at line 5 of file handscontainer.c.

◆ m_Hidden

bool HandsContainer::m_Hidden
protected

Definition at line 3 of file handscontainer.c.

◆ m_ScrollWidget

ScrollWidget HandsContainer::m_ScrollWidget
protected

Definition at line 18 of file handscontainer.c.

◆ m_StaticAttCount

int HandsContainer::m_StaticAttCount = 0
protected

Definition at line 15 of file handscontainer.c.

◆ m_StaticCargoCount

int HandsContainer::m_StaticCargoCount = 0
protected

Definition at line 16 of file handscontainer.c.


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