Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ArsenalInventoryStorageManagerComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_ArsenalInventoryStorageManagerComponentClass
 

Functions

SCR_ArsenalInventoryStorageManagerComponentClass ScriptedInventoryStorageManagerComponentClass Attribute ("1", desc:"If true it will negate the weight and volume of the items within the arsenal, if false the items within the arsenal will have weight and volume")] protected bool m_bNegateItemWeightAndVolume
 
bool IsPrefabInArsenalStorage (ResourceName item)
 
bool IsItemInArsenalStorage (notnull IEntity item)
 
protected void OnArsenalUpdated (array< ResourceName > newArsenalContent)
 
override protected void OnItemAdded (BaseInventoryStorageComponent storageOwner, IEntity item)
 
protected void OnItemsAddedDelay (BaseInventoryStorageComponent storageOwner)
 
override protected void OnItemRemoved (BaseInventoryStorageComponent storageOwner, IEntity item)
 
protected override void FillInitialPrefabsToStore (out array< ResourceName > prefabsToSpawn)
 
void ~SCR_ArsenalInventoryStorageManagerComponent ()
 

Variables

protected float m_fTotalItemWeight
 
protected bool m_bItemAddCallQuequeCalled
 
protected ref set< ResourceName > m_ItemsInArsenal = new set<ResourceName>()
 

Function Documentation

◆ Attribute()

SCR_ArsenalInventoryStorageManagerComponentClass ScriptedInventoryStorageManagerComponentClass Attribute ( "1"  ,
desc:"If true it will negate the weight and volume of the items within the  arsenal,
if false the items within the arsenal will have weight and volume"   
)

◆ FillInitialPrefabsToStore()

protected override void FillInitialPrefabsToStore ( out array< ResourceName >  prefabsToSpawn)

◆ IsItemInArsenalStorage()

bool IsItemInArsenalStorage ( notnull IEntity  item)

Check if given item is in the arsenal storage. (Prefabs only)

Parameters
[in]itemItem to check if it is in the arsenal storage
Returns
True if item found, else returns false

Definition at line 31 of file SCR_ArsenalInventoryStorageManagerComponent.c.

◆ IsPrefabInArsenalStorage()

bool IsPrefabInArsenalStorage ( ResourceName  item)

Check if given prefab is in the arsenal storage.

Parameters
[in]itemPrefab to check if it is in the arsenal storage
Returns
True if prefab found, else returns false

Definition at line 22 of file SCR_ArsenalInventoryStorageManagerComponent.c.

◆ OnArsenalUpdated()

protected void OnArsenalUpdated ( array< ResourceName >  newArsenalContent)

◆ OnItemAdded()

override protected void OnItemAdded ( BaseInventoryStorageComponent  storageOwner,
IEntity  item 
)

◆ OnItemRemoved()

override protected void OnItemRemoved ( BaseInventoryStorageComponent  storageOwner,
IEntity  item 
)

◆ OnItemsAddedDelay()

protected void OnItemsAddedDelay ( BaseInventoryStorageComponent  storageOwner)

◆ ~SCR_ArsenalInventoryStorageManagerComponent()

void ~SCR_ArsenalInventoryStorageManagerComponent ( )

Variable Documentation

◆ m_bItemAddCallQuequeCalled

protected bool m_bItemAddCallQuequeCalled

◆ m_fTotalItemWeight

protected float m_fTotalItemWeight

◆ m_ItemsInArsenal

protected ref set<ResourceName> m_ItemsInArsenal = new set<ResourceName>()