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

Public Member Functions

bool IsEnabled ()
 Check if the auto tune is enabled.
 
void SetRadios (IEntity entity, SCR_EVONAutoTuneFrequency tuneSpecificFrequency=SCR_EVONAutoTuneFrequency.NONE)
 
void Update (float timeSlice)
 Frame update.
 
void Init (notnull IEntity owner, notnull SCR_VONController vonController)
 Init VON Auto tune.
 
void Deinit ()
 Deinit VON Auto tune.
 

Protected Member Functions

void SetChannels (notnull SCR_Faction faction, notnull BaseRadioComponent radio, notnull SCR_VONAutoTuneRoleConfig roleConfig, int groupId, SCR_EVONAutoTuneFrequency tuneSpecificFrequency=SCR_EVONAutoTuneFrequency.NONE)
 
int GetFrequency (notnull SCR_Faction faction, int groupId, SCR_EVONAutoTuneFrequency autoTuneFrequencyType)
 
int GetPlatoonFrequency (notnull SCR_Faction faction)
 
int GetObjectiveOrPlatoonFrequency (notnull SCR_Faction faction, int groupId)
 
int GetCommanderFrequency (notnull Faction faction)
 
BaseRadioComponent FindFirstRadio (SCR_VONController vonController, ERadioType radioType, string encryptionKey)
 Find first equipped radio by type and encryptionKey.
 
void OnControlledEntityChanged (IEntity from, IEntity to)
 
void SetUpdateRadios ()
 

Protected Attributes

ref SCR_VONAutoTuneConfig m_VONAutoTuneConfig
 
SCR_GroupTaskManagerComponent m_GroupTaskManagerComponent
 seconds
 
SCR_GroupsManagerComponent m_GroupsManagerComponent
 
SCR_PlayerControllerGroupComponent m_PlayerGroupComponent
 
SCR_PlayerController m_PlayerController
 
SCR_VONController m_VONController
 
SCR_TaskSystem m_TaskSystem
 
RplComponent m_RplComponent
 
SCR_Task m_LastAddedTask
 
bool m_bMustUpdate
 
float m_fUpdateDelay
 

Static Protected Attributes

const float UPDATE_DELAY = 0.5
 

Member Function Documentation

◆ Deinit()

void SCR_VONAutoTune.Deinit ( )

Deinit VON Auto tune.

◆ FindFirstRadio()

BaseRadioComponent SCR_VONAutoTune.FindFirstRadio ( SCR_VONController vonController,
ERadioType radioType,
string encryptionKey )
protected

Find first equipped radio by type and encryptionKey.

◆ GetCommanderFrequency()

int SCR_VONAutoTune.GetCommanderFrequency ( notnull Faction faction)
protected

◆ GetFrequency()

int SCR_VONAutoTune.GetFrequency ( notnull SCR_Faction faction,
int groupId,
SCR_EVONAutoTuneFrequency autoTuneFrequencyType )
protected

◆ GetObjectiveOrPlatoonFrequency()

int SCR_VONAutoTune.GetObjectiveOrPlatoonFrequency ( notnull SCR_Faction faction,
int groupId )
protected

◆ GetPlatoonFrequency()

int SCR_VONAutoTune.GetPlatoonFrequency ( notnull SCR_Faction faction)
protected

◆ Init()

void SCR_VONAutoTune.Init ( notnull IEntity owner,
notnull SCR_VONController vonController )

Init VON Auto tune.

Parameters
[in]owner
[in]vonController

◆ IsEnabled()

bool SCR_VONAutoTune.IsEnabled ( )

Check if the auto tune is enabled.

Returns
True when enabled

◆ OnControlledEntityChanged()

void SCR_VONAutoTune.OnControlledEntityChanged ( IEntity from,
IEntity to )
protected

◆ SetChannels()

void SCR_VONAutoTune.SetChannels ( notnull SCR_Faction faction,
notnull BaseRadioComponent radio,
notnull SCR_VONAutoTuneRoleConfig roleConfig,
int groupId,
SCR_EVONAutoTuneFrequency tuneSpecificFrequency = SCR_EVONAutoTuneFrequency::NONE )
protected

◆ SetRadios()

void SCR_VONAutoTune.SetRadios ( IEntity entity,
SCR_EVONAutoTuneFrequency tuneSpecificFrequency = SCR_EVONAutoTuneFrequency::NONE )

◆ SetUpdateRadios()

void SCR_VONAutoTune.SetUpdateRadios ( )
protected

◆ Update()

void SCR_VONAutoTune.Update ( float timeSlice)

Frame update.

Parameters
[in]timeSlice

Member Data Documentation

◆ m_bMustUpdate

bool SCR_VONAutoTune.m_bMustUpdate
protected

◆ m_fUpdateDelay

float SCR_VONAutoTune.m_fUpdateDelay
protected

◆ m_GroupsManagerComponent

SCR_GroupsManagerComponent SCR_VONAutoTune.m_GroupsManagerComponent
protected

◆ m_GroupTaskManagerComponent

SCR_GroupTaskManagerComponent SCR_VONAutoTune.m_GroupTaskManagerComponent
protected

seconds

◆ m_LastAddedTask

SCR_Task SCR_VONAutoTune.m_LastAddedTask
protected

◆ m_PlayerController

SCR_PlayerController SCR_VONAutoTune.m_PlayerController
protected

◆ m_PlayerGroupComponent

SCR_PlayerControllerGroupComponent SCR_VONAutoTune.m_PlayerGroupComponent
protected

◆ m_RplComponent

RplComponent SCR_VONAutoTune.m_RplComponent
protected

◆ m_TaskSystem

SCR_TaskSystem SCR_VONAutoTune.m_TaskSystem
protected

◆ m_VONAutoTuneConfig

ref SCR_VONAutoTuneConfig SCR_VONAutoTune.m_VONAutoTuneConfig
protected

◆ m_VONController

SCR_VONController SCR_VONAutoTune.m_VONController
protected

◆ UPDATE_DELAY

const float SCR_VONAutoTune.UPDATE_DELAY = 0.5
staticprotected

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