Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ResourceComponentClass Interface Reference

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. More...

Inheritance diagram for SCR_ResourceComponentClass:

Public Member Functions

array< ref SCR_ResourceContainerGetContainers ()
 Warning: Only to be used for initialising the container in SCR_ResourceComponent.
 

Static Public Member Functions

static override array< TypeName > Requires (IEntityComponentSource src)
 

Protected Attributes

ref array< ref SCR_ResourceContainerm_aContainers
 Container prefab base configuration.
 

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.

Member Function Documentation

◆ GetContainers()

array< ref SCR_ResourceContainer > SCR_ResourceComponentClass.GetContainers ( )

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

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

◆ Requires()

static override array< TypeName > SCR_ResourceComponentClass.Requires ( IEntityComponentSource src)
static

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


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