Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_SupplySystem Interface Reference
Inheritance diagram for SCR_SupplySystem:
SCR_ResourceSystem GameSystem

Public Member Functions

void ActivateEffects (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue)
 
- Public Member Functions inherited from SCR_ResourceSystem
bool IsRegistered (notnull SCR_ResourceContainer container)
 
void RegisterContainer (notnull SCR_ResourceContainer container)
 
void RegisterSubscribedInteractor (notnull SCR_ResourceInteractor interactor)
 
void UnregisterContainer (notnull SCR_ResourceContainer container)
 
void UnregisterSubscribedInteractor (notnull SCR_ResourceInteractor interactor)
 
- Public Member Functions inherited from GameSystem
bool ShouldBePaused ()
 Is this system should be paused while the simulation is paused?
 
bool ShouldBeEnabledInEditMode ()
 Is this system should be enabled inside the editor.
 

Static Public Member Functions

static override void InitInfo (WorldSystemInfo outInfo)
 

Protected Member Functions

void Rpc_ActivateEffects (EResourcePlayerInteractionType interactionType, RplId rplIdResourceComponentFrom, RplId rplIdResourceComponentTo, EResourceType resourceType, float resourceValue)
 
override void OnStarted ()
 
- Protected Member Functions inherited from SCR_ResourceSystem
override void OnUpdate (ESystemPoint point)
 
override void OnDiag (float timeSlice)
 

Protected Attributes

ResourceName m_sSupplyEffectsConfig
 
ref SCR_SupplyEffectsConfig m_SupplyEffects
 
- Protected Attributes inherited from SCR_ResourceSystem
int m_iSubscribedInteractorsPivot
 
int m_iContainersPivot
 
ref array< SCR_ResourceInteractorm_aSubscribedInteractors = {}
 
ref array< SCR_ResourceContainerm_aContainers = {}
 
SCR_ResourceSystemSubscriptionManager m_ResourceSystemSubscriptionManager
 
ref SCR_ResourceGrid m_ResourceGrid
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_ResourceSystem
static const int SUBSCRIBED_INTERACTORS_MAX_FRAME_BUDGET = 10
 
static const int CONTAINERS_MAX_FRAME_BUDGET = 10
 

Member Function Documentation

◆ ActivateEffects()

void SCR_SupplySystem.ActivateEffects ( EResourcePlayerInteractionType interactionType,
SCR_ResourceComponent resourceComponentFrom,
SCR_ResourceComponent resourceComponentTo,
EResourceType resourceType,
float resourceValue )

◆ InitInfo()

static override void SCR_SupplySystem.InitInfo ( WorldSystemInfo outInfo)
static

Implements SCR_ResourceSystem.

◆ OnStarted()

override void SCR_SupplySystem.OnStarted ( )
protected

Implements SCR_ResourceSystem.

◆ Rpc_ActivateEffects()

void SCR_SupplySystem.Rpc_ActivateEffects ( EResourcePlayerInteractionType interactionType,
RplId rplIdResourceComponentFrom,
RplId rplIdResourceComponentTo,
EResourceType resourceType,
float resourceValue )
protected

Member Data Documentation

◆ m_sSupplyEffectsConfig

ResourceName SCR_SupplySystem.m_sSupplyEffectsConfig
protected

◆ m_SupplyEffects

ref SCR_SupplyEffectsConfig SCR_SupplySystem.m_SupplyEffects
protected

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