Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ResourceConsumerContainerQueue Interface Reference
Inheritance diagram for SCR_ResourceConsumerContainerQueue:
SCR_ResourceContainerQueue< Class ResourceInteractorType > SCR_ResourceContainerQueueBase

Public Member Functions

override void DebugDraw ()
 
- Public Member Functions inherited from SCR_ResourceContainerQueue< Class ResourceInteractorType >
int GetStorageTypeCount (EResourceContainerStorageType storageType)
 
override int RegisterContainer (notnull SCR_ResourceContainer container)
 Registers a container into the queue.
 
override SCR_ResourceContainer PopFirstContainer ()
 Removes from the queue the first container and returns it.
 
override SCR_ResourceContainer PopContainerAt (int index)
 Removes from the queue the container at the specified index/position and returns it.
 
override void PerformSorting ()
 
override array< SCR_ResourceContainerClear ()
 Clears the queue.
 
override void Initialize (notnull SCR_ResourceInteractor interactor)
 
override float UpdateContainerResourceValue (float currentValue, float previousValue)
 
override float UpdateContainerMaxResourceValue (float currentValue, float previousValue)
 
- Public Member Functions inherited from SCR_ResourceContainerQueueBase
float GetAggregatedResourceValue ()
 Returns the current value of the aggregated resources pre-calculated by adding the current resource values of the containers registered into the container queue.
 
float GetAggregatedMaxResourceValue ()
 Returns the current maximum value of the aggregated resources pre-calculated by adding the maximum resource values of the containers registered into the container queue.
 
SCR_ResourceContainer GetFirstContainer ()
 Returns the first resource container in the queue.
 
void CopyContainers (inout notnull set< SCR_ResourceContainer > containers)
 Copies the registered resource containers into a set of weak references of resource containers.
 
void CopyContainers (inout notnull array< SCR_ResourceContainer > containers)
 Copies the registered resource containers into an array of weak references of resource containers.
 
SCR_ResourceContainer GetContainerAt (int index)
 Returns a resource container located at the provided index/position in the queue.
 
int GetContainerCount ()
 Returns the number of registered containers in the queue.
 
int FindContainer (notnull SCR_ResourceContainer container)
 Finds the position of a specified container in the queue and returns said position.
 
void SetAggregatedResourceValue (float value)
 Assigns the current value of the aggregated resources to a specific value.
 
void SetAggregatedMaxResourceValue (float value)
 Assigns the current maximum value of the aggregated resources to a specific value.
 
void IncreaseAggregatedResourceValue (float increment)
 Increases the current value of the aggregated resources with a specific increment.
 
void DecreaseAggregatedResourceValue (float decrement)
 Decreases the current value of the aggregated resources with a specific decrement.
 
void IncreaseAggregatedMaxResourceValue (float increment)
 Increases the current maximum value of the aggregated resources with a specific increment.
 
void DecreaseAggregatedMaxResourceValue (float decrement)
 Decreases the current maximum value of the aggregated resources with a specific decrement.
 
void SCR_ResourceContainerQueueBase ()
 Constructor.
 
void ~SCR_ResourceContainerQueueBase ()
 Destructor.
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_ResourceContainerQueueBase
static const int FIRST_CONTAINER_INDEX = 0
 
static const int INVALID_CONTAINER_INDEX = -1
 
static const int INVALID_CONTAINER_COUNT = -1
 
- Protected Member Functions inherited from SCR_ResourceContainerQueue< Class ResourceInteractorType >
int GetStoragePolicyCount ()
 
- Protected Attributes inherited from SCR_ResourceContainerQueue< Class ResourceInteractorType >
ResourceInteractorType m_Interactor
 The interactor that owns the queue.
 
ref array< ref SCR_ResourceStoragePolicyBase< ResourceInteractorType > > m_StoragePolicies
 
- Protected Attributes inherited from SCR_ResourceContainerQueueBase
SCR_ResourceComponent m_ResourceComponent
 
ref array< SCR_ResourceContainerm_aRegisteredContainers = new array<SCR_ResourceContainer>()
 
float m_fAggregatedResourceValue
 
float m_fAggregatedMaxResourceValue
 

Member Function Documentation

◆ DebugDraw()

override void SCR_ResourceConsumerContainerQueue.DebugDraw ( )

The documentation for this interface was generated from the following file: