Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_SupplyMoveItemHintUIInfo.c
Go to the documentation of this file.
1 [BaseContainerProps(configRoot: true)]
3 {
4  //------------------------------------------------------------------------------------------------
5  override bool CanBeShown(InventoryItemComponent item, SCR_InventorySlotUI focusedSlot)
6  {
7  if (!super.CanBeShown(item, focusedSlot))
8  return false;
9 
10  float totalResources, maxResources;
11  return SCR_ResourceSystemHelper.GetStoredAndMaxResources(m_ResourceComponent, totalResources, maxResources);
12  }
13 }
SCR_ResourceSystemHelper
Definition: SCR_ResourceSystemHelper.c:1
SCR_SupplyMoveItemHintUIInfo
Definition: SCR_SupplyMoveItemHintUIInfo.c:2
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