Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VONMenu Class Reference

Protected Member Functions

SCR_RadialMenu GetRadialMenu ()
void SetMenuDisabled (bool state)
void AddRadialEntry (notnull SCR_VONEntry entry, SCR_SelectionMenuCategoryEntry category=null)
 Add simple entry.
void AddRadialCategory (notnull SCR_SelectionMenuCategoryEntry entry)
 Add simple category.
int GetGroupedRadioIndex (notnull SCR_VONEntryRadio entry)
 Get sibling transceiver indeces when there are more in a single device.
array< SCR_VONEntryRadioGetGroupedEntries (notnull SCR_VONEntryRadio entry)
 Get sibling transceiver entries when there are more in a single device.
void OnInputOpenMenu (SCR_RadialMenuController controller, bool hasControl)
 SCR_RadialMenuController event.
void OnControllerTakeControl (SCR_RadialMenuController controller)
 SCR_RadialMenuController event.
void OnControllerChanged (SCR_RadialMenuController controller, bool hasControl)
 SCR_RadialMenuController event.
void OnOpenMenu (SCR_SelectionMenu menu)
 SCR_RadialMenu event.
void OnCloseMenu (SCR_SelectionMenu menu)
 SCR_RadialMenu event.
void OnEntryPerformed (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry)
 SCR_RadialMenu event.
void OnEntrySelected (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry, int id)
 SCR_RadialMenu event.
void OnActiveEntriesChanged (SCR_VONEntry entry, bool isActive)
 SCR_VONController event.
void OnAdjustEntry (int input, bool isModif)
void ActionTuneFrequency (float value, EActionTrigger reason)
 Menu item configuration callback.
void ActionCycleChannel (float value, EActionTrigger reason)
 Menu item configuration callback.
void OnMenuToggle (float value, EActionTrigger reason)
 Entry toggle callback.
void OnMenuMuteToggle (float value, EActionTrigger reason)
 Entry toggle callback.
void UpdateEntries ()
void Update (float timeSlice)
 frame update
void Init (SCR_VONController controllerVON)

Static Protected Member Functions

static string GetKnownChannel (int frequency)

Protected Attributes

ref SCR_RadialMenuController m_RadialController
ref SCR_RadialMenu m_RadialMenu
const float ADJUST_COOLDOWN = 0.175
bool m_bIsDisabled
bool m_bIsModifierActive
float m_fAdjustCooldown
float m_FrequencyListTimer
SCR_VONEntry m_SelectedEntry
SCR_VONEntryRadio m_LastSelectedEntry
SCR_VONRadialDisplay m_Display
SCR_VONController m_VONController

Detailed Description

Definition at line 3 of file SCR_VONMenu.c.

Member Function Documentation

◆ ActionCycleChannel()

void SCR_VONMenu::ActionCycleChannel ( float value,
EActionTrigger reason )
inlineprotected

Menu item configuration callback.

Definition at line 349 of file SCR_VONMenu.c.

◆ ActionTuneFrequency()

void SCR_VONMenu::ActionTuneFrequency ( float value,
EActionTrigger reason )
inlineprotected

Menu item configuration callback.

Definition at line 336 of file SCR_VONMenu.c.

◆ AddRadialCategory()

void SCR_VONMenu::AddRadialCategory ( notnull SCR_SelectionMenuCategoryEntry entry)
inlineprotected

Add simple category.

Definition at line 95 of file SCR_VONMenu.c.

◆ AddRadialEntry()

void SCR_VONMenu::AddRadialEntry ( notnull SCR_VONEntry entry,
SCR_SelectionMenuCategoryEntry category = null )
inlineprotected

Add simple entry.

Definition at line 81 of file SCR_VONMenu.c.

◆ GetGroupedEntries()

array< SCR_VONEntryRadio > SCR_VONMenu::GetGroupedEntries ( notnull SCR_VONEntryRadio entry)
inlineprotected

Get sibling transceiver entries when there are more in a single device.

Definition at line 127 of file SCR_VONMenu.c.

◆ GetGroupedRadioIndex()

int SCR_VONMenu::GetGroupedRadioIndex ( notnull SCR_VONEntryRadio entry)
inlineprotected

Get sibling transceiver indeces when there are more in a single device.

Definition at line 103 of file SCR_VONMenu.c.

◆ GetKnownChannel()

string SCR_VONMenu::GetKnownChannel ( int frequency)
inlinestaticprotected

Get channel name tied to a frequency

Parameters
frequencyis the subject frequency
Returns
channel name or empty string if not found

Definition at line 39 of file SCR_VONMenu.c.

◆ GetRadialMenu()

SCR_RadialMenu SCR_VONMenu::GetRadialMenu ( )
inlineprotected

Definition at line 24 of file SCR_VONMenu.c.

◆ Init()

void SCR_VONMenu::Init ( SCR_VONController controllerVON)
inlineprotected

Definition at line 448 of file SCR_VONMenu.c.

◆ OnActiveEntriesChanged()

void SCR_VONMenu::OnActiveEntriesChanged ( SCR_VONEntry entry,
bool isActive )
inlineprotected

SCR_VONController event.

Definition at line 301 of file SCR_VONMenu.c.

◆ OnAdjustEntry()

void SCR_VONMenu::OnAdjustEntry ( int input,
bool isModif )
inlineprotected

Definition at line 309 of file SCR_VONMenu.c.

◆ OnCloseMenu()

void SCR_VONMenu::OnCloseMenu ( SCR_SelectionMenu menu)
inlineprotected

SCR_RadialMenu event.

Definition at line 243 of file SCR_VONMenu.c.

◆ OnControllerChanged()

void SCR_VONMenu::OnControllerChanged ( SCR_RadialMenuController controller,
bool hasControl )
inlineprotected

SCR_RadialMenuController event.

Definition at line 222 of file SCR_VONMenu.c.

◆ OnControllerTakeControl()

void SCR_VONMenu::OnControllerTakeControl ( SCR_RadialMenuController controller)
inlineprotected

SCR_RadialMenuController event.

Definition at line 212 of file SCR_VONMenu.c.

◆ OnEntryPerformed()

void SCR_VONMenu::OnEntryPerformed ( SCR_SelectionMenu menu,
SCR_SelectionMenuEntry entry )
inlineprotected

SCR_RadialMenu event.

Definition at line 254 of file SCR_VONMenu.c.

◆ OnEntrySelected()

void SCR_VONMenu::OnEntrySelected ( SCR_SelectionMenu menu,
SCR_SelectionMenuEntry entry,
int id )
inlineprotected

SCR_RadialMenu event.

Definition at line 263 of file SCR_VONMenu.c.

◆ OnInputOpenMenu()

void SCR_VONMenu::OnInputOpenMenu ( SCR_RadialMenuController controller,
bool hasControl )
inlineprotected

SCR_RadialMenuController event.

Definition at line 150 of file SCR_VONMenu.c.

◆ OnMenuMuteToggle()

void SCR_VONMenu::OnMenuMuteToggle ( float value,
EActionTrigger reason )
inlineprotected

Entry toggle callback.

Definition at line 385 of file SCR_VONMenu.c.

◆ OnMenuToggle()

void SCR_VONMenu::OnMenuToggle ( float value,
EActionTrigger reason )
inlineprotected

Entry toggle callback.

Definition at line 362 of file SCR_VONMenu.c.

◆ OnOpenMenu()

void SCR_VONMenu::OnOpenMenu ( SCR_SelectionMenu menu)
inlineprotected

SCR_RadialMenu event.

Definition at line 232 of file SCR_VONMenu.c.

◆ SetMenuDisabled()

void SCR_VONMenu::SetMenuDisabled ( bool state)
inlineprotected

Definition at line 30 of file SCR_VONMenu.c.

◆ Update()

void SCR_VONMenu::Update ( float timeSlice)
inlineprotected

frame update

Definition at line 428 of file SCR_VONMenu.c.

◆ UpdateEntries()

void SCR_VONMenu::UpdateEntries ( )
inlineprotected

Definition at line 421 of file SCR_VONMenu.c.

Member Data Documentation

◆ ADJUST_COOLDOWN

const float SCR_VONMenu::ADJUST_COOLDOWN = 0.175
protected

Definition at line 11 of file SCR_VONMenu.c.

◆ m_bIsDisabled

bool SCR_VONMenu::m_bIsDisabled
protected

Definition at line 13 of file SCR_VONMenu.c.

◆ m_bIsModifierActive

bool SCR_VONMenu::m_bIsModifierActive
protected

Definition at line 14 of file SCR_VONMenu.c.

◆ m_Display

SCR_VONRadialDisplay SCR_VONMenu::m_Display
protected

Definition at line 20 of file SCR_VONMenu.c.

◆ m_fAdjustCooldown

float SCR_VONMenu::m_fAdjustCooldown
protected

Definition at line 15 of file SCR_VONMenu.c.

◆ m_FrequencyListTimer

float SCR_VONMenu::m_FrequencyListTimer
protected

Definition at line 16 of file SCR_VONMenu.c.

◆ m_LastSelectedEntry

SCR_VONEntryRadio SCR_VONMenu::m_LastSelectedEntry
protected

Definition at line 19 of file SCR_VONMenu.c.

◆ m_RadialController

ref SCR_RadialMenuController SCR_VONMenu::m_RadialController
protected

Definition at line 6 of file SCR_VONMenu.c.

◆ m_RadialMenu

ref SCR_RadialMenu SCR_VONMenu::m_RadialMenu
protected

Definition at line 9 of file SCR_VONMenu.c.

◆ m_SelectedEntry

SCR_VONEntry SCR_VONMenu::m_SelectedEntry
protected

Definition at line 18 of file SCR_VONMenu.c.

◆ m_VONController

SCR_VONController SCR_VONMenu::m_VONController
protected

Definition at line 21 of file SCR_VONMenu.c.


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