Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseSupplyItemHintUIInfo.c
Go to the documentation of this file.
2class SCR_BaseSupplyItemHintUIInfo : SCR_InventoryItemHintUIInfo
3{
4 protected SCR_ResourceComponent m_ResourceComponent;
5
6 //------------------------------------------------------------------------------------------------
7 override bool CanBeShown(InventoryItemComponent item, SCR_InventorySlotUI focusedSlot)
8 {
11 return false;
12
13 return super.CanBeShown(item, focusedSlot);
14 }
15
16 //------------------------------------------------------------------------------------------------
17 protected SCR_ResourceComponent GetResourceComponent(InventoryItemComponent item)
18 {
19 if (!item)
20 return null;
21
22 return SCR_ResourceComponent.FindResourceComponent(item.GetOwner());
23 }
24}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_ResourceComponent GetResourceComponent()
Caches and returns the resource component.
override bool CanBeShown(InventoryItemComponent item, SCR_InventorySlotUI focusedSlot)
SCR_ResourceComponent GetResourceComponent(InventoryItemComponent item)