Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ArsenalInventoryStorageManagerComponent.c File Reference

Go to the source code of this file.

Classes

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)
void OnArsenalUpdated (array< ResourceName > newArsenalContent)
void OnItemAdded (BaseInventoryStorageComponent storageOwner, IEntity item)
void OnItemsAddedDelay (BaseInventoryStorageComponent storageOwner)
void OnItemRemoved (BaseInventoryStorageComponent storageOwner, IEntity item)
override void FillInitialPrefabsToStore (out array< ResourceName > prefabsToSpawn)
void OnEntityCatalogInitialized ()
void ~SCR_ArsenalInventoryStorageManagerComponent ()

Variables

float m_fTotalItemWeight
bool m_bItemAddCallQuequeCalled
ref set< ResourceNamem_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()

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

◆ IsItemInArsenalStorage()

bool IsItemInArsenalStorage ( notnull IEntity item)
protected

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)
protected

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()

void OnArsenalUpdated ( array< ResourceName > newArsenalContent)
protected

◆ OnEntityCatalogInitialized()

void OnEntityCatalogInitialized ( )
protected

◆ OnItemAdded()

void OnItemAdded ( BaseInventoryStorageComponent storageOwner,
IEntity item )
protected

◆ OnItemRemoved()

void OnItemRemoved ( BaseInventoryStorageComponent storageOwner,
IEntity item )
protected

◆ OnItemsAddedDelay()

void OnItemsAddedDelay ( BaseInventoryStorageComponent storageOwner)
protected

◆ ~SCR_ArsenalInventoryStorageManagerComponent()

void ~SCR_ArsenalInventoryStorageManagerComponent ( )
protected

Variable Documentation

◆ m_bItemAddCallQuequeCalled

bool m_bItemAddCallQuequeCalled
protected

◆ m_fTotalItemWeight

float m_fTotalItemWeight
protected

◆ m_ItemsInArsenal

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