Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseSupplyItemHintUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_BaseSupplyItemHintUIInfo
: SCR_InventoryItemHintUIInfo
3
{
4
protected
SCR_ResourceComponent m_ResourceComponent;
5
6
//------------------------------------------------------------------------------------------------
7
override
bool
CanBeShown(
InventoryItemComponent
item,
SCR_InventorySlotUI
focusedSlot)
8
{
9
m_ResourceComponent
= GetResourceComponent(item);
10
if
(!
m_ResourceComponent
)
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
}
m_ResourceComponent
protected SCR_ResourceComponent m_ResourceComponent
Definition:
SCR_CampaignBuildingProviderComponent.c:51
InventoryItemComponent
Definition:
InventoryItemComponent.c:12
SCR_InventorySlotUI
Definition:
SCR_InventorySlotUI.c:27
SCR_BaseSupplyItemHintUIInfo
Definition:
SCR_BaseSupplyItemHintUIInfo.c:2
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Containers
UIInfo
SCR_BaseSupplyItemHintUIInfo.c
Generated by
1.8.17