Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
SlotsIcon Class Reference
Inheritance diagram for SlotsIcon:
LayoutHolder

Protected Member Functions

void SlotsIcon (LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
 
override bool IsVisible ()
 
void SetSlotParent (EntityAI parent)
 
void SetContainer (Container container)
 
void SetSlotDisplayName (string text)
 
Container GetContainer ()
 
string GetSlotDisplayName ()
 
void SetSlotDesc (string text)
 
string GetSlotDesc ()
 
void ~SlotsIcon ()
 
EntityAI GetSlotParent ()
 
int GetSlotID ()
 
void SetSlotID (int slot_ID)
 
bool IsReserved ()
 
Widget GetPanelWidget ()
 
Widget GetCursorWidget ()
 
Widget GetColWidget ()
 
Widget GetReservedWidget ()
 
Widget GetMountedWidget ()
 
ItemPreviewWidget GetRender ()
 
ImageWidget GetGhostSlot ()
 
Widget GetColorWidget ()
 
Widget GetSelectedPanel ()
 
Widget GetEmptySelectedPanel ()
 
Widget GetMicromanagedPanel ()
 
Widget GetQuantityPanel ()
 
Widget GetOutOfReachWidget ()
 
TextWidget GetQuantityItem ()
 
ProgressBarWidget GetQuantityProgress ()
 
Widget GetQuantityStack ()
 
Widget GetItemSizePanel ()
 
TextWidget GetItemSizeWidget ()
 
ImageWidget GetAmmoIcon ()
 
Widget GetRadialIconPanel ()
 
Widget GetRadialIconClosed ()
 
Widget GetRadialIcon ()
 
bool IsFocused ()
 
override void SetActive (bool active)
 
override void SetLayoutName ()
 
override void Refresh ()
 
void SetTemperature ()
 
Object GetObject ()
 
EntityAI GetEntity ()
 
ItemBase GetItem ()
 
void RefreshMuzzleIcon ()
 
void SetQuantity ()
 
void SetItemPreview ()
 
void SetItemSize ()
 
void UpdateFlip (bool flipped)
 
void Init (EntityAI obj, bool reservation=false)
 
void ClearRemainSelected ()
 
void Clear ()
 
void CheckIsWeapon ()
 
void CheckIsMagazine ()
 
void CheckHasTemperature ()
 
void CheckHasQuantity ()
 
void CheckHasItemSize ()
 
bool IsOutOfReach ()
 
bool MouseEnter (Widget w, int x, int y)
 
bool MouseEnterGhostSlot (Widget w, int x, int y)
 
bool MouseLeave (Widget w, Widget s, int x, int y)
 
bool MouseLeaveGhostSlot (Widget w, Widget s, int x, int y)
 
override void UpdateInterval ()
 
void OnIconDrag (Widget w)
 
void OnIconDrop (Widget w)
 

Static Protected Member Functions

static int GetNormalWidth ()
 
static int GetNormalHeight ()
 

Protected Attributes

bool m_IsWeapon = false
 
bool m_IsMagazine = false
 
bool m_HasTemperature = false
 
bool m_HasQuantity = false
 
bool m_HasItemSize = false
 
float m_CurrQuantity = -1
 
EntityAI m_Obj
 
ItemBase m_Item
 
EntityAI m_SlotParent
 
Container m_Container
 
int m_SlotID
 
bool m_IsDragged = false
 
Widget m_PanelWidget
 
Widget m_CursorWidget
 
Widget m_ColWidget
 
Widget m_MountedWidget
 
Widget m_OutOfReachWidget
 
Widget m_ReservedWidget
 
ItemPreviewWidget m_ItemPreview
 
ImageWidget m_GhostSlot
 
Widget m_ColorWidget
 
Widget m_SelectedPanel
 
Widget m_EmptySelectedPanel
 
Widget m_MicromanagedPanel
 
Widget m_QuantityPanel
 
TextWidget m_QuantityItem
 
ProgressBarWidget m_QuantityProgress
 
Widget m_QuantityStack
 
string m_SlotDisplayName
 
string m_SlotDesc
 
Widget m_ItemSizePanel
 
TextWidget m_ItemSizeWidget
 
Widget m_RadialIconPanel
 
Widget m_RadialIconClosed
 
Widget m_RadialIcon
 
bool m_Reserved
 
ImageWidget m_AmmoIcon
 
ref array< ImageWidget > m_AmmoIcons
 

Static Protected Attributes

static int m_NormalWidth
 
static int m_NormalHeight
 

Detailed Description

Definition at line 1 of file slotsicon.c.

Constructor & Destructor Documentation

◆ SlotsIcon()

void SlotsIcon::SlotsIcon ( LayoutHolder parent,
Widget root,
int index,
EntityAI slot_parent )
protected

Definition at line 56 of file slotsicon.c.

◆ ~SlotsIcon()

void SlotsIcon::~SlotsIcon ( )
protected

Definition at line 169 of file slotsicon.c.

Member Function Documentation

◆ CheckHasItemSize()

void SlotsIcon::CheckHasItemSize ( )
protected

Definition at line 719 of file slotsicon.c.

◆ CheckHasQuantity()

void SlotsIcon::CheckHasQuantity ( )
protected

Definition at line 707 of file slotsicon.c.

◆ CheckHasTemperature()

void SlotsIcon::CheckHasTemperature ( )
protected

Definition at line 699 of file slotsicon.c.

◆ CheckIsMagazine()

void SlotsIcon::CheckIsMagazine ( )
protected

Definition at line 694 of file slotsicon.c.

◆ CheckIsWeapon()

void SlotsIcon::CheckIsWeapon ( )
protected

Definition at line 623 of file slotsicon.c.

◆ Clear()

void SlotsIcon::Clear ( )
protected

Definition at line 612 of file slotsicon.c.

◆ ClearRemainSelected()

void SlotsIcon::ClearRemainSelected ( )
protected

Definition at line 549 of file slotsicon.c.

◆ GetAmmoIcon()

ImageWidget SlotsIcon::GetAmmoIcon ( )
protected

Definition at line 295 of file slotsicon.c.

◆ GetColorWidget()

Widget SlotsIcon::GetColorWidget ( )
protected

Definition at line 240 of file slotsicon.c.

◆ GetColWidget()

Widget SlotsIcon::GetColWidget ( )
protected

Definition at line 215 of file slotsicon.c.

◆ GetContainer()

Container SlotsIcon::GetContainer ( )
protected

Definition at line 149 of file slotsicon.c.

◆ GetCursorWidget()

Widget SlotsIcon::GetCursorWidget ( )
protected

Definition at line 210 of file slotsicon.c.

◆ GetEmptySelectedPanel()

Widget SlotsIcon::GetEmptySelectedPanel ( )
protected

Definition at line 250 of file slotsicon.c.

◆ GetEntity()

EntityAI SlotsIcon::GetEntity ( )
protected

Definition at line 365 of file slotsicon.c.

◆ GetGhostSlot()

ImageWidget SlotsIcon::GetGhostSlot ( )
protected

Definition at line 235 of file slotsicon.c.

◆ GetItem()

ItemBase SlotsIcon::GetItem ( )
protected

Definition at line 370 of file slotsicon.c.

◆ GetItemSizePanel()

Widget SlotsIcon::GetItemSizePanel ( )
protected

Definition at line 285 of file slotsicon.c.

◆ GetItemSizeWidget()

TextWidget SlotsIcon::GetItemSizeWidget ( )
protected

Definition at line 290 of file slotsicon.c.

◆ GetMicromanagedPanel()

Widget SlotsIcon::GetMicromanagedPanel ( )
protected

Definition at line 255 of file slotsicon.c.

◆ GetMountedWidget()

Widget SlotsIcon::GetMountedWidget ( )
protected

Definition at line 225 of file slotsicon.c.

◆ GetNormalHeight()

static int SlotsIcon::GetNormalHeight ( )
staticprotected

Definition at line 880 of file slotsicon.c.

◆ GetNormalWidth()

static int SlotsIcon::GetNormalWidth ( )
staticprotected

Definition at line 875 of file slotsicon.c.

◆ GetObject()

Object SlotsIcon::GetObject ( )
protected

Definition at line 360 of file slotsicon.c.

◆ GetOutOfReachWidget()

Widget SlotsIcon::GetOutOfReachWidget ( )
protected

Definition at line 265 of file slotsicon.c.

◆ GetPanelWidget()

Widget SlotsIcon::GetPanelWidget ( )
protected

Definition at line 205 of file slotsicon.c.

◆ GetQuantityItem()

TextWidget SlotsIcon::GetQuantityItem ( )
protected

Definition at line 270 of file slotsicon.c.

◆ GetQuantityPanel()

Widget SlotsIcon::GetQuantityPanel ( )
protected

Definition at line 260 of file slotsicon.c.

◆ GetQuantityProgress()

ProgressBarWidget SlotsIcon::GetQuantityProgress ( )
protected

Definition at line 275 of file slotsicon.c.

◆ GetQuantityStack()

Widget SlotsIcon::GetQuantityStack ( )
protected

Definition at line 280 of file slotsicon.c.

◆ GetRadialIcon()

Widget SlotsIcon::GetRadialIcon ( )
protected

Definition at line 310 of file slotsicon.c.

◆ GetRadialIconClosed()

Widget SlotsIcon::GetRadialIconClosed ( )
protected

Definition at line 305 of file slotsicon.c.

◆ GetRadialIconPanel()

Widget SlotsIcon::GetRadialIconPanel ( )
protected

Definition at line 300 of file slotsicon.c.

◆ GetRender()

ItemPreviewWidget SlotsIcon::GetRender ( )
protected

Definition at line 230 of file slotsicon.c.

◆ GetReservedWidget()

Widget SlotsIcon::GetReservedWidget ( )
protected

Definition at line 220 of file slotsicon.c.

◆ GetSelectedPanel()

Widget SlotsIcon::GetSelectedPanel ( )
protected

Definition at line 245 of file slotsicon.c.

◆ GetSlotDesc()

string SlotsIcon::GetSlotDesc ( )
protected

Definition at line 164 of file slotsicon.c.

◆ GetSlotDisplayName()

string SlotsIcon::GetSlotDisplayName ( )
protected

Definition at line 154 of file slotsicon.c.

◆ GetSlotID()

int SlotsIcon::GetSlotID ( )
protected

Definition at line 190 of file slotsicon.c.

◆ GetSlotParent()

EntityAI SlotsIcon::GetSlotParent ( )
protected

Definition at line 185 of file slotsicon.c.

◆ Init()

void SlotsIcon::Init ( EntityAI obj,
bool reservation = false )
protected

Definition at line 501 of file slotsicon.c.

◆ IsFocused()

bool SlotsIcon::IsFocused ( )
protected

Definition at line 315 of file slotsicon.c.

◆ IsOutOfReach()

bool SlotsIcon::IsOutOfReach ( )
protected

Definition at line 729 of file slotsicon.c.

◆ IsReserved()

bool SlotsIcon::IsReserved ( )
protected

Definition at line 200 of file slotsicon.c.

◆ IsVisible()

override bool SlotsIcon::IsVisible ( )
protected

Definition at line 129 of file slotsicon.c.

◆ MouseEnter()

bool SlotsIcon::MouseEnter ( Widget w,
int x,
int y )
protected

Definition at line 735 of file slotsicon.c.

◆ MouseEnterGhostSlot()

bool SlotsIcon::MouseEnterGhostSlot ( Widget w,
int x,
int y )
protected

Definition at line 748 of file slotsicon.c.

◆ MouseLeave()

bool SlotsIcon::MouseLeave ( Widget w,
Widget s,
int x,
int y )
protected

Definition at line 766 of file slotsicon.c.

◆ MouseLeaveGhostSlot()

bool SlotsIcon::MouseLeaveGhostSlot ( Widget w,
Widget s,
int x,
int y )
protected

Definition at line 779 of file slotsicon.c.

◆ OnIconDrag()

void SlotsIcon::OnIconDrag ( Widget w)
protected

Definition at line 806 of file slotsicon.c.

◆ OnIconDrop()

void SlotsIcon::OnIconDrop ( Widget w)
protected

Definition at line 861 of file slotsicon.c.

◆ Refresh()

override void SlotsIcon::Refresh ( )
protected

Definition at line 345 of file slotsicon.c.

◆ RefreshMuzzleIcon()

void SlotsIcon::RefreshMuzzleIcon ( )
protected

Definition at line 375 of file slotsicon.c.

◆ SetActive()

override void SlotsIcon::SetActive ( bool active)
protected

Definition at line 320 of file slotsicon.c.

◆ SetContainer()

void SlotsIcon::SetContainer ( Container container)
protected

Definition at line 139 of file slotsicon.c.

◆ SetItemPreview()

void SlotsIcon::SetItemPreview ( )
protected

Definition at line 471 of file slotsicon.c.

◆ SetItemSize()

void SlotsIcon::SetItemSize ( )
protected

Definition at line 479 of file slotsicon.c.

◆ SetLayoutName()

override void SlotsIcon::SetLayoutName ( )
protected

Definition at line 340 of file slotsicon.c.

◆ SetQuantity()

void SlotsIcon::SetQuantity ( )
protected

Definition at line 422 of file slotsicon.c.

◆ SetSlotDesc()

void SlotsIcon::SetSlotDesc ( string text)
protected

Definition at line 159 of file slotsicon.c.

◆ SetSlotDisplayName()

void SlotsIcon::SetSlotDisplayName ( string text)
protected

Definition at line 144 of file slotsicon.c.

◆ SetSlotID()

void SlotsIcon::SetSlotID ( int slot_ID)
protected

Definition at line 195 of file slotsicon.c.

◆ SetSlotParent()

void SlotsIcon::SetSlotParent ( EntityAI parent)
protected

Definition at line 134 of file slotsicon.c.

◆ SetTemperature()

void SlotsIcon::SetTemperature ( )
protected

Definition at line 355 of file slotsicon.c.

◆ UpdateFlip()

void SlotsIcon::UpdateFlip ( bool flipped)
protected

Definition at line 491 of file slotsicon.c.

◆ UpdateInterval()

override void SlotsIcon::UpdateInterval ( )
protected

Definition at line 791 of file slotsicon.c.

Member Data Documentation

◆ m_AmmoIcon

ImageWidget SlotsIcon::m_AmmoIcon
protected

Definition at line 53 of file slotsicon.c.

◆ m_AmmoIcons

ref array<ImageWidget> SlotsIcon::m_AmmoIcons
protected

Definition at line 54 of file slotsicon.c.

◆ m_ColorWidget

Widget SlotsIcon::m_ColorWidget
protected

Definition at line 31 of file slotsicon.c.

◆ m_ColWidget

Widget SlotsIcon::m_ColWidget
protected

Definition at line 23 of file slotsicon.c.

◆ m_Container

Container SlotsIcon::m_Container
protected

Definition at line 16 of file slotsicon.c.

◆ m_CurrQuantity

float SlotsIcon::m_CurrQuantity = -1
protected

Definition at line 11 of file slotsicon.c.

◆ m_CursorWidget

Widget SlotsIcon::m_CursorWidget
protected

Definition at line 22 of file slotsicon.c.

◆ m_EmptySelectedPanel

Widget SlotsIcon::m_EmptySelectedPanel
protected

Definition at line 33 of file slotsicon.c.

◆ m_GhostSlot

ImageWidget SlotsIcon::m_GhostSlot
protected

Definition at line 29 of file slotsicon.c.

◆ m_HasItemSize

bool SlotsIcon::m_HasItemSize = false
protected

Definition at line 10 of file slotsicon.c.

◆ m_HasQuantity

bool SlotsIcon::m_HasQuantity = false
protected

Definition at line 9 of file slotsicon.c.

◆ m_HasTemperature

bool SlotsIcon::m_HasTemperature = false
protected

Definition at line 8 of file slotsicon.c.

◆ m_IsDragged

bool SlotsIcon::m_IsDragged = false
protected

Definition at line 18 of file slotsicon.c.

◆ m_IsMagazine

bool SlotsIcon::m_IsMagazine = false
protected

Definition at line 7 of file slotsicon.c.

◆ m_IsWeapon

bool SlotsIcon::m_IsWeapon = false
protected

Definition at line 6 of file slotsicon.c.

◆ m_Item

ItemBase SlotsIcon::m_Item
protected

Definition at line 14 of file slotsicon.c.

◆ m_ItemPreview

ItemPreviewWidget SlotsIcon::m_ItemPreview
protected

Definition at line 28 of file slotsicon.c.

◆ m_ItemSizePanel

Widget SlotsIcon::m_ItemSizePanel
protected

Definition at line 44 of file slotsicon.c.

◆ m_ItemSizeWidget

TextWidget SlotsIcon::m_ItemSizeWidget
protected

Definition at line 45 of file slotsicon.c.

◆ m_MicromanagedPanel

Widget SlotsIcon::m_MicromanagedPanel
protected

Definition at line 34 of file slotsicon.c.

◆ m_MountedWidget

Widget SlotsIcon::m_MountedWidget
protected

Definition at line 24 of file slotsicon.c.

◆ m_NormalHeight

int SlotsIcon::m_NormalHeight
staticprotected

Definition at line 4 of file slotsicon.c.

◆ m_NormalWidth

int SlotsIcon::m_NormalWidth
staticprotected

Definition at line 3 of file slotsicon.c.

◆ m_Obj

EntityAI SlotsIcon::m_Obj
protected

Definition at line 13 of file slotsicon.c.

◆ m_OutOfReachWidget

Widget SlotsIcon::m_OutOfReachWidget
protected

Definition at line 25 of file slotsicon.c.

◆ m_PanelWidget

Widget SlotsIcon::m_PanelWidget
protected

Definition at line 20 of file slotsicon.c.

◆ m_QuantityItem

TextWidget SlotsIcon::m_QuantityItem
protected

Definition at line 37 of file slotsicon.c.

◆ m_QuantityPanel

Widget SlotsIcon::m_QuantityPanel
protected

Definition at line 36 of file slotsicon.c.

◆ m_QuantityProgress

ProgressBarWidget SlotsIcon::m_QuantityProgress
protected

Definition at line 38 of file slotsicon.c.

◆ m_QuantityStack

Widget SlotsIcon::m_QuantityStack
protected

Definition at line 39 of file slotsicon.c.

◆ m_RadialIcon

Widget SlotsIcon::m_RadialIcon
protected

Definition at line 49 of file slotsicon.c.

◆ m_RadialIconClosed

Widget SlotsIcon::m_RadialIconClosed
protected

Definition at line 48 of file slotsicon.c.

◆ m_RadialIconPanel

Widget SlotsIcon::m_RadialIconPanel
protected

Definition at line 47 of file slotsicon.c.

◆ m_Reserved

bool SlotsIcon::m_Reserved
protected

Definition at line 51 of file slotsicon.c.

◆ m_ReservedWidget

Widget SlotsIcon::m_ReservedWidget
protected

Definition at line 26 of file slotsicon.c.

◆ m_SelectedPanel

Widget SlotsIcon::m_SelectedPanel
protected

Definition at line 32 of file slotsicon.c.

◆ m_SlotDesc

string SlotsIcon::m_SlotDesc
protected

Definition at line 42 of file slotsicon.c.

◆ m_SlotDisplayName

string SlotsIcon::m_SlotDisplayName
protected

Definition at line 41 of file slotsicon.c.

◆ m_SlotID

int SlotsIcon::m_SlotID
protected

Definition at line 17 of file slotsicon.c.

◆ m_SlotParent

EntityAI SlotsIcon::m_SlotParent
protected

Definition at line 15 of file slotsicon.c.


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