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

Public Member Functions

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)
 

Static Public Attributes

static const int SUBSCRIBED_INTERACTORS_MAX_FRAME_BUDGET = 10
 
static const int CONTAINERS_MAX_FRAME_BUDGET = 10
 

Protected Member Functions

override void OnUpdate (ESystemPoint point)
 
override void OnDiag (float timeSlice)
 
override void OnStarted ()
 

Protected Attributes

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
 

Member Function Documentation

◆ InitInfo()

static override void SCR_ResourceSystem.InitInfo ( WorldSystemInfo outInfo)
static

Implemented in SCR_SupplySystem.

◆ IsRegistered()

bool SCR_ResourceSystem.IsRegistered ( notnull SCR_ResourceContainer container)

◆ OnDiag()

override void SCR_ResourceSystem.OnDiag ( float timeSlice)
protected

◆ OnStarted()

override void SCR_ResourceSystem.OnStarted ( )
protected

Implemented in SCR_SupplySystem.

◆ OnUpdate()

override void SCR_ResourceSystem.OnUpdate ( ESystemPoint point)
protected

◆ RegisterContainer()

void SCR_ResourceSystem.RegisterContainer ( notnull SCR_ResourceContainer container)

◆ RegisterSubscribedInteractor()

void SCR_ResourceSystem.RegisterSubscribedInteractor ( notnull SCR_ResourceInteractor interactor)

◆ UnregisterContainer()

void SCR_ResourceSystem.UnregisterContainer ( notnull SCR_ResourceContainer container)

◆ UnregisterSubscribedInteractor()

void SCR_ResourceSystem.UnregisterSubscribedInteractor ( notnull SCR_ResourceInteractor interactor)

Member Data Documentation

◆ CONTAINERS_MAX_FRAME_BUDGET

const int SCR_ResourceSystem.CONTAINERS_MAX_FRAME_BUDGET = 10
static

◆ m_aContainers

ref array<SCR_ResourceContainer> SCR_ResourceSystem.m_aContainers = {}
protected

◆ m_aSubscribedInteractors

ref array<SCR_ResourceInteractor> SCR_ResourceSystem.m_aSubscribedInteractors = {}
protected

◆ m_iContainersPivot

int SCR_ResourceSystem.m_iContainersPivot
protected

◆ m_iSubscribedInteractorsPivot

int SCR_ResourceSystem.m_iSubscribedInteractorsPivot
protected

◆ m_ResourceGrid

ref SCR_ResourceGrid SCR_ResourceSystem.m_ResourceGrid
protected

◆ m_ResourceSystemSubscriptionManager

SCR_ResourceSystemSubscriptionManager SCR_ResourceSystem.m_ResourceSystemSubscriptionManager
protected

◆ SUBSCRIBED_INTERACTORS_MAX_FRAME_BUDGET

const int SCR_ResourceSystem.SUBSCRIBED_INTERACTORS_MAX_FRAME_BUDGET = 10
static

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