Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_RadioCoverageSystem Interface Reference
Inheritance diagram for SCR_RadioCoverageSystem:
[legend]

Public Member Functions

override bool ShouldBePaused ()
 Is this system should be paused while the simulation is paused?
 
override void OnStarted ()
 
override void OnStopped ()
 
void OnCoverageChanged (notnull SCR_CoverageRadioComponent radio)
 
OnCoverageChangedInvoker GetOnCoverageChanged ()
 
void TogglePeriodicUpdates (bool toggle)
 
void RegisterRadioComponent (notnull SCR_CoverageRadioComponent component, float range=-1)
 
void UnregisterRadioComponent (notnull SCR_CoverageRadioComponent component)
 
- 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 SCR_RadioCoverageSystem GetInstance ()
 
static bool UpdateAll (bool forceRecalculation=false)
 

Protected Member Functions

bool UpdateRadios (bool forceUpdateCoverage=false)
 
void UpdateRadioComponent (notnull SCR_CoverageRadioComponent component)
 
void FindNewSource (string encryptionKey)
 
void HandleRanges (notnull SCR_CoverageRadioComponent component, float range=-1)
 
void UpdateCoverage (string encryptionKey)
 

Protected Attributes

bool m_bSignalSignature
 
bool m_bUpdateCoverage
 
bool m_bForcedPause
 
ref OnCoverageChangedInvoker m_OnCoverageChanged
 
ref array< SCR_CoverageRadioComponentm_aRadioComponents = {}
 
ref map< string, SCR_CoverageRadioComponentm_mEncryptionSignalSources = new map<string, SCR_CoverageRadioComponent>()
 

Static Protected Attributes

static const int UPDATE_DELAY = 2000
 

Member Function Documentation

◆ FindNewSource()

void SCR_RadioCoverageSystem.FindNewSource ( string  encryptionKey)
protected

◆ GetInstance()

static SCR_RadioCoverageSystem SCR_RadioCoverageSystem.GetInstance ( )
static

◆ GetOnCoverageChanged()

OnCoverageChangedInvoker SCR_RadioCoverageSystem.GetOnCoverageChanged ( )

◆ HandleRanges()

void SCR_RadioCoverageSystem.HandleRanges ( notnull SCR_CoverageRadioComponent  component,
float  range = -1 
)
protected

◆ OnCoverageChanged()

void SCR_RadioCoverageSystem.OnCoverageChanged ( notnull SCR_CoverageRadioComponent  radio)

◆ OnStarted()

override void SCR_RadioCoverageSystem.OnStarted ( )

◆ OnStopped()

override void SCR_RadioCoverageSystem.OnStopped ( )

◆ RegisterRadioComponent()

void SCR_RadioCoverageSystem.RegisterRadioComponent ( notnull SCR_CoverageRadioComponent  component,
float  range = -1 
)

◆ ShouldBePaused()

override bool SCR_RadioCoverageSystem.ShouldBePaused ( )

Is this system should be paused while the simulation is paused?

Implements GameSystem.

◆ TogglePeriodicUpdates()

void SCR_RadioCoverageSystem.TogglePeriodicUpdates ( bool  toggle)

◆ UnregisterRadioComponent()

void SCR_RadioCoverageSystem.UnregisterRadioComponent ( notnull SCR_CoverageRadioComponent  component)

◆ UpdateAll()

static bool SCR_RadioCoverageSystem.UpdateAll ( bool  forceRecalculation = false)
static

◆ UpdateCoverage()

void SCR_RadioCoverageSystem.UpdateCoverage ( string  encryptionKey)
protected

◆ UpdateRadioComponent()

void SCR_RadioCoverageSystem.UpdateRadioComponent ( notnull SCR_CoverageRadioComponent  component)
protected

◆ UpdateRadios()

bool SCR_RadioCoverageSystem.UpdateRadios ( bool  forceUpdateCoverage = false)
protected

Member Data Documentation

◆ m_aRadioComponents

ref array<SCR_CoverageRadioComponent> SCR_RadioCoverageSystem.m_aRadioComponents = {}
protected

◆ m_bForcedPause

bool SCR_RadioCoverageSystem.m_bForcedPause
protected

◆ m_bSignalSignature

bool SCR_RadioCoverageSystem.m_bSignalSignature
protected

◆ m_bUpdateCoverage

bool SCR_RadioCoverageSystem.m_bUpdateCoverage
protected

◆ m_mEncryptionSignalSources

ref map<string, SCR_CoverageRadioComponent> SCR_RadioCoverageSystem.m_mEncryptionSignalSources = new map<string, SCR_CoverageRadioComponent>()
protected

◆ m_OnCoverageChanged

ref OnCoverageChangedInvoker SCR_RadioCoverageSystem.m_OnCoverageChanged
protected

◆ UPDATE_DELAY

const int SCR_RadioCoverageSystem.UPDATE_DELAY = 2000
staticprotected

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