DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
SlotsIconBase.c
См. документацию.
2{
3 protected static int m_NormalWidth;
4 protected static int m_NormalHeight;
5
6 protected bool m_IsWeapon = false;
7 protected bool m_IsMagazine = false;
8 protected bool m_HasTemperature = false;
9 protected bool m_HasQuantity = false;
10 protected bool m_HasItemSize = false;
11 protected float m_CurrQuantity = -1;
12
13 protected EntityAI m_Obj;
14 protected ItemBase m_Item;
17 protected int m_SlotID;
18 protected bool m_IsDragged = false;
19
21
27
29 protected ImageWidget m_GhostSlot;
30
35
38 protected ProgressBarWidget m_QuantityProgress;
40
41 protected string m_SlotDisplayName;
42 protected string m_SlotDesc;
43
46
50
51 protected bool m_Reserved;
52
53 protected ImageWidget m_AmmoIcon;
55
56 void SlotsIconBase(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
57 {
58 InitIcon(parent,root,index,slot_parent);
59 }
60
61 protected void InitIcon(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
62 {
63 if (root)
64 m_MainWidget = root;
65
66 InitIconWidgets(parent,root,index,slot_parent);
67
68 m_ItemPreview.SetForceFlipEnable(true);
69 m_ItemPreview.SetForceFlip(false);
70
71 m_Reserved = false;
72 m_SlotID = -1;
73 m_Item = null;
74 m_Obj = null;
75 m_Container = null;
76
77 m_SlotParent = slot_parent;
78
79 m_PanelWidget.SetUserData(this);
80 m_ItemPreview.SetUserData(this);
81 m_GhostSlot.SetUserData(this);
82 m_MainWidget.SetUserData(this);
83
84 float w,h;
85 m_MainWidget.GetSize(w,h);
86
87 m_NormalWidth = w;
89
91
92 SetActive( false );
93 }
94
95 protected void InitIconWidgets(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
96 {
97 }
98
99 override bool IsVisible()
100 {
101 return m_MainWidget.IsVisible();
102 }
103
105 {
106 m_SlotParent = parent;
107 }
108
109 void SetContainer( Container container )
110 {
111 m_Container = container;
112 }
113
114 void SetSlotDisplayName( string text )
115 {
116 m_SlotDisplayName = text;
117 }
118
120 {
121 return m_Container;
122 }
123
125 {
126 return m_SlotDisplayName;
127 }
128
129 void SetSlotDesc( string text )
130 {
131 m_SlotDesc = text;
132 }
133
134 string GetSlotDesc()
135 {
136 return m_SlotDesc;
137 }
138
140 {
141 if (m_IsDragged)
142 {
143 m_IsDragged = false;
146 }
147
148 if (m_Obj)
149 {
150 m_Obj.GetOnItemFlipped().Remove( UpdateFlip );
151 m_Obj.GetOnViewIndexChanged().Remove( SetItemPreview );
152 }
153 }
154
156 {
157 return m_SlotParent;
158 }
159
161 {
162 return m_SlotID;
163 }
164
165 void SetSlotID(int slot_ID)
166 {
167 m_SlotID = slot_ID;
168 }
169
171 {
172 return m_Reserved;
173 }
174
176 {
177 return m_PanelWidget;
178 }
179
181 {
182 return m_CursorWidget;
183 }
184
186 {
187 return m_ColWidget;
188 }
189
191 {
192 return m_ReservedWidget;
193 }
194
196 {
197 return m_MountedWidget;
198 }
199
201 {
202 return m_ItemPreview;
203 }
204
205 ImageWidget GetGhostSlot()
206 {
207 return m_GhostSlot;
208 }
209
211 {
212 return m_ColorWidget;
213 }
214
216 {
217 return m_SelectedPanel;
218 }
219
224
229
231 {
232 return m_QuantityPanel;
233 }
234
239
241 {
242 return m_QuantityItem;
243 }
244
245 ProgressBarWidget GetQuantityProgress()
246 {
247 return m_QuantityProgress;
248 }
249
251 {
252 return m_QuantityStack;
253 }
254
256 {
257 return m_ItemSizePanel;
258 }
259
264
265 ImageWidget GetAmmoIcon()
266 {
267 return m_AmmoIcon;
268 }
269
271 {
272 return m_RadialIconPanel;
273 }
274
279
281 {
282 return m_RadialIcon;
283 }
284
286 {
287 return GetCursorWidget().IsVisible();
288 }
289
290 override void SetActive( bool active )
291 {
292#ifdef PLATFORM_CONSOLE
293 super.SetActive( active );
294 float x, y;
295 if( active && GetObject() )
296 {
297 GetMainWidget().GetScreenPos( x, y );
298 PrepareOwnedTooltip( EntityAI.Cast( GetObject() ), x, y );
299 }
300 else if (active)
301 {
302 GetMainWidget().GetScreenPos( x, y );
303 PrepareOwnedSlotsTooltip( GetMainWidget(), m_SlotDisplayName, m_SlotDesc, x, y );
304 }
305
306 m_SelectedPanel.Show( active );
307#endif
308 }
309
310 override void SetLayoutName()
311 {
312 m_LayoutName = "";
313 }
314
315 override void Refresh()
316 {
317 //if (m_HasTemperature)
319 if (m_IsWeapon)
321 if (m_HasQuantity)
322 SetQuantity();
323 }
324
329
331 {
332 return m_Obj;
333 }
334
336 {
337 return EntityAI.Cast( m_Obj );
338 }
339
341 {
342 return m_Item;
343 }
344
346 {
347 Weapon_Base wpn = Weapon_Base.Cast(GetObject());
348 if (wpn)
349 {
350 int i;
351 if (!wpn.IsShowingChamberedBullet())
352 {
353 for (i = 0; i < m_AmmoIcons.Count(); i++)
354 m_AmmoIcon = m_AmmoIcons.Get(i);
355 }
356 else
357 {
358 for (i = 0; i < wpn.GetMuzzleCount(); i++)
359 {
360 if (i > m_AmmoIcons.Count())
361 break;
362
363 m_AmmoIcon = m_AmmoIcons.Get(i);
364 if (wpn.IsChamberFull(i))
365 {
366 m_AmmoIcon.Show(true);
367 if (wpn.IsJammed())
368 {
369 m_AmmoIcon.Show(true);
370 m_AmmoIcon.SetImage(2);
371 }
372 else if (wpn.IsChamberFiredOut(i))
373 {
374 m_AmmoIcon.Show(true);
375 m_AmmoIcon.SetImage(1);
376 }
377 else
378 {
379 m_AmmoIcon.Show(true);
380 m_AmmoIcon.SetImage(0);
381 }
382 }
383 else
384 {
385 m_AmmoIcon.Show(false);
386 }
387 }
388 }
389 }
390 }
391
393 {
394 if (m_Item)
395 {
396 int quantityType = QuantityConversions.HasItemQuantity(m_Item);
398 {
400
401 if (quantityType == QUANTITY_COUNT)
402 {
403 string q_text = QuantityConversions.GetItemQuantityText(m_Item, true);
404
405 if (QuantityConversions.GetItemQuantityMax(m_Item) == 1 || q_text == "")
406 {
407 m_QuantityStack.Show(false);
408 }
409 else
410 {
411 m_QuantityItem.SetText(q_text);
412 m_QuantityStack.Show(true);
413 }
414
415 m_QuantityProgress.Show(false);
416 }
417 else if (quantityType == QUANTITY_PROGRESS)
418 {
419 float progress_max = m_QuantityProgress.GetMax();
420 int max = m_Item.GetQuantityMax();
421 int count = m_Item.ConfigGetInt("count");
422 float quantity = m_CurrQuantity;
423
424 if (count > 0)
425 {
426 max = count;
427 }
428
429 if (max > 0)
430 {
431 float value = Math.Round((quantity / max) * 100);
432 m_QuantityProgress.SetCurrent(value);
433 }
434 m_QuantityStack.Show(false);
435 m_QuantityProgress.Show(true);
436 }
437 }
438 }
439 }
440
442 {
443 m_GhostSlot.Show( false );
444 m_ItemPreview.Show( true );
445 m_ItemPreview.SetItem( EntityAI.Cast( m_Obj ) );
446 m_ItemPreview.SetModelOrientation( "0 0 0" );
447 m_ItemPreview.SetView( m_Obj.GetViewIndex() );
448 }
449
451 {
452 if( m_HasItemSize )
453 {
454 int size_x, size_y;
455 GetGame().GetInventoryItemSize( InventoryItem.Cast( m_Obj ), size_x, size_y );
456
457 m_ItemSizePanel.Show( true );
458 m_ItemSizeWidget.SetText( ( size_x * size_y ).ToString() );
459 }
460 }
461
462 void UpdateFlip( bool flipped )
463 {
464 if( !m_Reserved )
465 {
466 float x_content, y_content;
467 GetPanelWidget().GetScreenSize( x_content, y_content );
468 GetPanelWidget().SetSize( y_content, x_content );
469 }
470 }
471
472 void Init( EntityAI obj, bool reservation = false )
473 {
474 if( m_Obj != obj )
475 {
477 m_Obj = obj;
478 m_Item = ItemBase.Cast( m_Obj );
479 m_Obj.GetOnItemFlipped().Insert( UpdateFlip );
480 m_Obj.GetOnViewIndexChanged().Insert( SetItemPreview );
481 m_Reserved = reservation;
482 m_Container = null;
483
484 if(reservation)
485 {
487
488 m_IsWeapon = false;
489 m_IsMagazine = false;
490 m_HasTemperature = false;
491 m_HasQuantity = false;
492 m_HasItemSize = false;
493 }
494 else
495 {
501 }
502
503 m_ReservedWidget.Show(reservation);
504
506
507 m_PanelWidget.Show( true );
508
509 Refresh();
510#ifdef PLATFORM_CONSOLE
512#endif
513 }
514 }
515
516 protected void HandleConsoleToolbar()
517 {}
518
520 {
521 if (m_IsDragged)
522 {
525 }
526 if (m_Obj)
527 {
528 m_Obj.GetOnItemFlipped().Remove( UpdateFlip );
529 m_Obj.GetOnViewIndexChanged().Remove( SetItemPreview );
530 HideOwnedTooltip();
531 }
532
533 m_Obj = null;
534 m_Item = null;
535 m_Container = null;
536
537 m_ItemPreview.Show( false );
538 m_ItemPreview.SetItem( null );
539
540 m_CurrQuantity = -1;
541 m_IsWeapon = false;
542 m_IsMagazine = false;
543 m_HasTemperature = false;
544 m_HasQuantity = false;
545 m_HasItemSize = false;
546
547 m_GhostSlot.Show( true );
548 m_AmmoIcon.Show( false );
549 m_PanelWidget.Show( false );
550 m_RadialIconPanel.Show( false );
551
552 m_QuantityPanel.Show( false );
553 if(GetSlotID() != -1)
554 {
555 int stackMax = GetContextualSlotMax();
556 if(stackMax > 1)
557 {
558 m_QuantityPanel.Show( true );
559 m_QuantityItem.SetText( string.Format("0/%1", stackMax.ToString()) );
560 m_QuantityStack.Show( true );
561 m_QuantityProgress.Show( false );
562 m_PanelWidget.Show( true );
563 m_ItemPreview.Show( true );
564
565 /*
566 Print("visibility check | m_QuantityPanel: " + m_QuantityPanel.IsVisible());
567 Print("visibility check | m_QuantityItem: " + m_QuantityItem.IsVisible());
568 Print("visibility check | m_QuantityStack: " + m_QuantityStack.IsVisible());
569 Print("visibility check | m_QuantityProgress: " + m_QuantityProgress.IsVisible());
570 Print("visibility check | m_PanelWidget: " + m_PanelWidget.IsVisible());
571 Print("visibility check | m_ItemPreview: " + m_ItemPreview.IsVisible());
572 Print("----");
573 */
574 }
575 }
576
577 m_ColWidget.Show( false );
578 m_MountedWidget.Show( false );
579 m_OutOfReachWidget.Show( false );
580 m_ReservedWidget.Show( false );
581
582 if( m_ItemSizePanel )
583 m_ItemSizePanel.Show( false );
584
585 if( m_ColorWidget )
586 m_ColorWidget.Show( false );
587
588 Refresh();
589 }
590
591 void Clear()
592 {
593 m_CursorWidget.Show(false);
594 m_EmptySelectedPanel.Show(false);
595
597 }
598
600 {
601 Weapon_Base wpn = Weapon_Base.Cast(m_Obj);
602 if (wpn)
603 {
605 m_IsWeapon = true;
606 float posX = 0.0;
607 float width = 0.0, height = 0.0;
608 for (int i = 0; i < wpn.GetMuzzleCount(); i++)
609 {
610 if (i == 1)
611 {
612 m_AmmoIcons[0].GetSize(width,height);
613 }
614 posX += width;
615
616 m_AmmoIcon.SetPos(posX, 0.0, false);
617
618 AmmoData data = Magazine.GetAmmoData(wpn.GetChamberAmmoTypeName(i));
619 if (data)
620 {
621 CartridgeType cartridgeType = data.m_CartridgeType;
622 switch (cartridgeType)
623 {
624 case CartridgeType.Pistol:
625 {
626 m_AmmoIcon.LoadImageFile(0, "set:dayz_gui image:cartridge_pistol");
627 m_AmmoIcon.LoadImageFile(1, "set:dayz_gui image:shell_pistol");
628 m_AmmoIcon.LoadImageFile(2, "set:dayz_gui image:jam_pistol");
629 break;
630 }
631 case CartridgeType.Intermediate:
632 {
633 m_AmmoIcon.LoadImageFile(0, "set:dayz_gui image:cartridge_int");
634 m_AmmoIcon.LoadImageFile(1, "set:dayz_gui image:shell_int");
635 m_AmmoIcon.LoadImageFile(2, "set:dayz_gui image:jam_int");
636 break;
637 }
638 case CartridgeType.FullPower:
639 {
640 m_AmmoIcon.LoadImageFile(0, "set:dayz_gui image:cartridge_fp");
641 m_AmmoIcon.LoadImageFile(1, "set:dayz_gui image:shell_fp");
642 m_AmmoIcon.LoadImageFile(2, "set:dayz_gui image:jam_fp");
643 break;
644 }
645 case CartridgeType.Shell:
646 {
647 m_AmmoIcon.LoadImageFile(0, "set:dayz_gui image:cartridge_shell");
648 m_AmmoIcon.LoadImageFile(1, "set:dayz_gui image:shell_shell");
649 m_AmmoIcon.LoadImageFile(2, "set:dayz_gui image:jam_shell");
650 break;
651 }
652 //@note: Crossbows cant jam so we dont add a icon for the jam state
653 case CartridgeType.Arrow:
654 {
655 m_AmmoIcon.LoadImageFile(0, "set:dayz_gui image:arrow_int");
656 m_AmmoIcon.LoadImageFile(1, "set:dayz_gui image:arrow_int");
657 break;
658 }
659 }
660 }
661 m_AmmoIcons.Insert(m_AmmoIcon);
662 }
663 }
664 else
665 {
666 m_IsWeapon = false;
667 }
668 }
669
671 {
672 m_IsMagazine = ( Magazine.Cast( m_Obj ) != null );
673 }
674
676 {
677 if (m_Item)
678 {
679 m_HasTemperature = m_Item.CanHaveTemperature();
680 }
681 }
682
684 {
685 if( m_Item )
686 {
688 if( m_HasQuantity )
689 {
690 m_QuantityPanel.Show( true );
691 }
692 }
693 }
694
696 {
697 m_HasItemSize = false;
698 }
699
701 {
702 bool oot = ( m_OutOfReachWidget.IsVisible() || m_MountedWidget.IsVisible() );
703 return oot;
704 }
705
706 override void UpdateInterval()
707 {
708 if (m_Item)
709 {
712 if (m_IsWeapon)
714 if (m_HasQuantity)
715 SetQuantity();
716 if (m_HasItemSize)
717 SetItemSize();
718 }
719 }
720
721 static int GetNormalWidth()
722 {
723 return m_NormalWidth;
724 }
725
726 static int GetNormalHeight()
727 {
728 return m_NormalHeight;
729 }
730
731 protected int GetContextualSlotMax()
732 {
734 }
735
736 /*override void HideOwnedSlotsTooltip()
737 {
738 if (m_TooltipOwner)
739 {
740 ItemManager.GetInstance().HideTooltipSlot();
741 m_TooltipOwner = false;
742 }
743 }*/
744}
proto string ToString()
Icon x
Icon y
CartridgeType
Определения Magazine.c:4
void SetActive()
Определения TrapBase.c:413
const int COLOR_GHOST_ICON
Определения Colors.c:51
Определения Colors.c:4
Определения Feet.c:1
static proto native int GetStackMaxForSlotId(int slot_Id)
provides access to slot configuration
Определения InventorySlots.c:6
void SetTemperature(EntityAI item, Widget item_w)
Определения ItemManager.c:479
void HideDropzones()
Определения ItemManager.c:287
void SetWidgetDraggable(Widget w, bool draggable)
Определения ItemManager.c:693
void SetIsDragging(bool is_dragging)
Определения ItemManager.c:383
static ItemManager GetInstance()
Определения ItemManager.c:282
Определения ItemManager.c:2
Определения gameplay.c:287
void Container(LayoutHolder parent)
Определения Container.c:35
Определения Container.c:2
Определения EnMath.c:7
Определения ObjectTyped.c:2
static float GetItemQuantity(InventoryItem item)
Определения QuantityConversions.c:72
static int HasItemQuantity(notnull EntityAI item)
Определения QuantityConversions.c:143
static float GetItemQuantityMax(InventoryItem item)
Определения QuantityConversions.c:96
static string GetItemQuantityText(EntityAI item, bool showMax=false)
Определения QuantityConversions.c:3
Widget GetMicromanagedPanel()
Определения SlotsIconBase.c:225
string GetSlotDesc()
Определения SlotsIconBase.c:134
Widget GetRadialIconClosed()
Определения SlotsIconBase.c:275
void SetContainer(Container container)
Определения SlotsIconBase.c:109
Widget GetReservedWidget()
Определения SlotsIconBase.c:190
Container GetContainer()
Определения SlotsIconBase.c:119
Widget GetRadialIconPanel()
Определения SlotsIconBase.c:270
void InitIconWidgets(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
Определения SlotsIconBase.c:95
bool m_IsDragged
Определения SlotsIconBase.c:18
void CheckHasTemperature()
Определения SlotsIconBase.c:675
ItemBase m_Item
Определения SlotsIconBase.c:14
void SetSlotDesc(string text)
Определения SlotsIconBase.c:129
Widget m_RadialIconClosed
Определения SlotsIconBase.c:48
void RefreshMuzzleIcon()
Определения SlotsIconBase.c:345
Widget m_SelectedPanel
Определения SlotsIconBase.c:32
string m_SlotDesc
Определения SlotsIconBase.c:42
Widget GetQuantityPanel()
Определения SlotsIconBase.c:230
Widget m_ReservedWidget
Определения SlotsIconBase.c:26
Widget m_PanelWidget
Определения SlotsIconBase.c:20
override void Refresh()
Определения SlotsIconBase.c:315
Widget m_EmptySelectedPanel
Определения SlotsIconBase.c:33
ProgressBarWidget m_QuantityProgress
Определения SlotsIconBase.c:38
void SetSlotParent(EntityAI parent)
Определения SlotsIconBase.c:104
EntityAI GetSlotParent()
Определения SlotsIconBase.c:155
override void SetActive(bool active)
Определения SlotsIconBase.c:290
Widget m_MountedWidget
Определения SlotsIconBase.c:24
void SetTemperature()
Определения SlotsIconBase.c:325
Widget m_OutOfReachWidget
Определения SlotsIconBase.c:25
ImageWidget GetAmmoIcon()
Определения SlotsIconBase.c:265
Widget GetCursorWidget()
Определения SlotsIconBase.c:180
TextWidget GetQuantityItem()
Определения SlotsIconBase.c:240
ImageWidget m_GhostSlot
Определения SlotsIconBase.c:29
override void UpdateInterval()
Определения SlotsIconBase.c:706
Widget GetOutOfReachWidget()
Определения SlotsIconBase.c:235
Widget m_ItemSizePanel
Определения SlotsIconBase.c:44
ProgressBarWidget GetQuantityProgress()
Определения SlotsIconBase.c:245
void SetSlotID(int slot_ID)
Определения SlotsIconBase.c:165
EntityAI m_SlotParent
Определения SlotsIconBase.c:15
Widget m_QuantityPanel
Определения SlotsIconBase.c:36
bool IsReserved()
Определения SlotsIconBase.c:170
int GetSlotID()
Определения SlotsIconBase.c:160
static int m_NormalWidth
Определения SlotsIconBase.c:3
ImageWidget GetGhostSlot()
Определения SlotsIconBase.c:205
Widget m_ColorWidget
Определения SlotsIconBase.c:31
ref array< ImageWidget > m_AmmoIcons
Определения SlotsIconBase.c:54
Widget GetPanelWidget()
Определения SlotsIconBase.c:175
Widget m_RadialIcon
Определения SlotsIconBase.c:49
void UpdateFlip(bool flipped)
Определения SlotsIconBase.c:462
void Clear()
Определения SlotsIconBase.c:591
Widget GetSelectedPanel()
Определения SlotsIconBase.c:215
string m_SlotDisplayName
Определения SlotsIconBase.c:41
bool m_HasItemSize
Определения SlotsIconBase.c:10
Widget GetEmptySelectedPanel()
Определения SlotsIconBase.c:220
Widget m_CursorWidget
Определения SlotsIconBase.c:22
ItemPreviewWidget m_ItemPreview
Определения SlotsIconBase.c:28
Widget GetItemSizePanel()
Определения SlotsIconBase.c:255
void CheckHasQuantity()
Определения SlotsIconBase.c:683
TextWidget m_ItemSizeWidget
Определения SlotsIconBase.c:45
ItemPreviewWidget GetRender()
Определения SlotsIconBase.c:200
Widget GetColWidget()
Определения SlotsIconBase.c:185
void SetSlotDisplayName(string text)
Определения SlotsIconBase.c:114
int GetContextualSlotMax()
Определения SlotsIconBase.c:731
EntityAI GetEntity()
Определения SlotsIconBase.c:335
Widget GetColorWidget()
Определения SlotsIconBase.c:210
bool m_HasQuantity
Определения SlotsIconBase.c:9
Container m_Container
Определения SlotsIconBase.c:16
void InitIcon(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
Определения SlotsIconBase.c:61
void SlotsIconBase(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
Определения SlotsIconBase.c:56
void SetItemSize()
Определения SlotsIconBase.c:450
EntityAI m_Obj
Определения SlotsIconBase.c:13
static int GetNormalWidth()
Определения SlotsIconBase.c:721
Widget m_MicromanagedPanel
Определения SlotsIconBase.c:34
Widget GetMountedWidget()
Определения SlotsIconBase.c:195
void HandleConsoleToolbar()
Определения SlotsIconBase.c:516
void SetItemPreview()
Определения SlotsIconBase.c:441
bool m_IsWeapon
Определения SlotsIconBase.c:6
Widget GetQuantityStack()
Определения SlotsIconBase.c:250
void CheckIsWeapon()
Определения SlotsIconBase.c:599
bool m_IsMagazine
Определения SlotsIconBase.c:7
bool m_Reserved
Определения SlotsIconBase.c:51
void Init(EntityAI obj, bool reservation=false)
Определения SlotsIconBase.c:472
override void SetLayoutName()
Определения SlotsIconBase.c:310
Object GetObject()
Определения SlotsIconBase.c:330
static int m_NormalHeight
Определения SlotsIconBase.c:4
Widget GetRadialIcon()
Определения SlotsIconBase.c:280
float m_CurrQuantity
Определения SlotsIconBase.c:11
void SetQuantity()
Определения SlotsIconBase.c:392
TextWidget m_QuantityItem
Определения SlotsIconBase.c:37
override bool IsVisible()
Определения SlotsIconBase.c:99
bool IsFocused()
Определения SlotsIconBase.c:285
ImageWidget m_AmmoIcon
Определения SlotsIconBase.c:53
Widget m_QuantityStack
Определения SlotsIconBase.c:39
bool m_HasTemperature
Определения SlotsIconBase.c:8
void CheckHasItemSize()
Определения SlotsIconBase.c:695
bool IsOutOfReach()
Определения SlotsIconBase.c:700
int m_SlotID
Определения SlotsIconBase.c:17
TextWidget GetItemSizeWidget()
Определения SlotsIconBase.c:260
void CheckIsMagazine()
Определения SlotsIconBase.c:670
void ClearRemainSelected()
Определения SlotsIconBase.c:519
static int GetNormalHeight()
Определения SlotsIconBase.c:726
Widget m_ColWidget
Определения SlotsIconBase.c:23
void ~SlotsIconBase()
Определения SlotsIconBase.c:139
ItemBase GetItem()
Определения SlotsIconBase.c:340
Widget m_RadialIconPanel
Определения SlotsIconBase.c:47
string GetSlotDisplayName()
Определения SlotsIconBase.c:124
Определения EnWidgets.c:220
override bool IsShowingChamberedBullet()
Определения Magnum.c:290
shorthand
Определения BoltActionRifle_Base.c:6
Определения EnWidgets.c:190
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZGame GetGame()
Определения gameplay.c:636
const int QUANTITY_PROGRESS
Определения 3_Game/DayZ/constants.c:555
const int QUANTITY_COUNT
Определения 3_Game/DayZ/constants.c:554
const int QUANTITY_HIDDEN
Определения 3_Game/DayZ/constants.c:553
static proto float Round(float f)
Returns mathematical round of value.
proto native Widget CancelWidgetDragging()