Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ResourceComponentClass Class Reference
Inheritance diagram for SCR_ResourceComponentClass:
ScriptComponentClass

Protected Member Functions

array< ref SCR_ResourceContainerGetContainers ()

Static Protected Member Functions

static override array< typenameRequires (IEntityComponentSource src)

Protected Attributes

ref array< ref SCR_ResourceContainerm_aContainers

Detailed Description

Component class with the container configuration on it in order to avoid duplication of data in the container prefabs and the entity catalogs for the container-to-container interaction.

Definition at line 16 of file SCR_ResourceComponent.c.

Member Function Documentation

◆ GetContainers()

array< ref SCR_ResourceContainer > SCR_ResourceComponentClass::GetContainers ( )
inlineprotected

Warning: Only to be used for initialising the container in SCR_ResourceComponent.

Returns
The prefab base container configuration, or null if none.

Definition at line 27 of file SCR_ResourceComponent.c.

◆ Requires()

override array< typename > SCR_ResourceComponentClass::Requires ( IEntityComponentSource src)
inlinestaticprotected

Definition at line 33 of file SCR_ResourceComponent.c.

Member Data Documentation

◆ m_aContainers

ref array<ref SCR_ResourceContainer> SCR_ResourceComponentClass::m_aContainers
protected

Container prefab base configuration. Warning: This gets copied/duplicated in SCR_ResourceComponent through SCR_ResourceContainer::Initialize(IEntity owner, SCR_ResourceContainer container = null).

Definition at line 22 of file SCR_ResourceComponent.c.


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