Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | TransmissionData |
Data class for transmissions. More... | |
Functions | |
class TransmissionData | Attribute ("{2EFEA2AF1F38E7F0}UI/Textures/Icons/icons_wrapperUI-64.m_sImageSet")] |
VON display of active outgoing and incoming transmissions. More... | |
void | HideTransmission () |
void | TransmissionData (Widget base, int iPlayerID) |
int | GetActiveTransmissionsCount () |
Count of active incoming transmissions. More... | |
bool | IsCapturingTransmisionActive () |
Whether outgoing transmission is currently active. More... | |
event void | OnCapture (BaseTransceiver transmitter) |
VONComponent event. More... | |
protected Widget | GetWidget () |
event void | OnReceive (int playerId, BaseTransceiver receiver, int frequency, float quality) |
VONComponent event. More... | |
protected bool | UpdateTransmission (TransmissionData data, BaseTransceiver radioTransceiver, int frequency, bool IsReceiving) |
protected void | OpacityFade (TransmissionData data, float timeSlice, bool isAdditional=false) |
void | ShowSelectedVONHint (SCR_VONEntry entry) |
Show hint displaying which VON method was selected. More... | |
void | ShowSelectedVONDisabledHint (bool isServerDisabled=false) |
protected void | FadeSelectedVONHint () |
protected void | SetHintIcon (bool isRadio) |
Set VON info hint icon type. More... | |
protected void | OnVONActiveToggled (bool directState, bool channelState) |
SCR_VONController event -> Toggle microphone indication. More... | |
protected void | OnDestroyed (Instigator killer, IEntity killerEntity) |
SCR_PlayerController Event. More... | |
protected void | InitDisplay () |
Initialize. More... | |
protected void | OnSlotUIResize () |
protected void | UpdateWidgets () |
override void | DisplayUpdate (IEntity owner, float timeSlice) |
override bool | DisplayStartDrawInit (IEntity owner) |
override void | DisplayStartDraw (IEntity owner) |
override void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
override void | DisplayStopDraw (IEntity owner) |
Variables | |
ref SCR_VoNOverlay_ElementWidgets | m_Widgets |
Widget | m_wBaseWidget |
bool | m_bForceUpdate |
bool | m_bVisible |
bool | m_bIsActive |
bool | m_bIsAnimating |
bool | m_bIsAdditional |
int | m_iPlayerID |
float | m_fAlpha |
float | m_fActiveTimeout |
float | m_fFrequency |
float | m_fQuality |
IEntity | m_Entity |
Faction | m_Faction |
BaseTransceiver | m_RadioTransceiver |
protected string | m_sImageSet |
protected string | m_sImageSetGlow |
protected string | m_sReceivingTransmissionLayout |
const string | ICON_DIRECT_SPEECH = "VON_directspeech" |
const string | ICON_RADIO_HINT = "VON_radio" |
const string | ICON_RADIO = "VON_frequency" |
const string | ICON_SERVER_DISABLE_HINT = "server-locked" |
const string | LABEL_FREQUENCY_UNITS = "#AR-VON_FrequencyUnits_MHz" |
const string | LABEL_UNKNOWN_SOURCE = "#AR-VON_UnknownSource" |
const string | LABEL_CHANNEL_PLATOON = "#AR-VON_ChannelPlatoon-UC" |
const string | WIDGET_INCOMING = "VonIncoming" |
const string | WIDGET_TRANSMIT = "VonTransmitting" |
const string | WIDGET_OVERFLOW = "VonAdditional" |
const string | WIDGET_OVERFLOW_TEXT = "number" |
const string | WIDGET_SELECTED_ROOT = "VonSelected" |
const string | WIDGET_SELECTED_ICON = "Selected_Icon" |
const string | WIDGET_SELECTED_ICONGLOW = "Selected_IconGlow" |
const string | WIDGET_SELECTED_VON = "Selected_VONChannel" |
const string | WIDGET_SELECTED_TEXT = "Selected_Text" |
const ref Color | COLOR_WHITE = Color.FromSRGBA(255, 255, 255, 255) |
protected int | m_iTransmissionSlots = 4 |
const float | FADEOUT_TIMER_THRESHOLD = 1 |
const float | FADEIN_SPEED = 10 |
const float | FADEOUT_SPEED = 5 |
const int | SELECTED_HINT_FADE_SPEED = 3000 |
const int | HEIGHT_DIVIDER = 35 |
protected bool | m_bIsVONUIDisabled |
protected bool | m_bIsVONDirectDisabled |
protected bool | m_bIsDirectToggled |
protected bool | m_bIsChannelToggled |
protected ref TransmissionData | m_OutTransmission |
protected ref array< Widget > | m_aWidgetsIncomingVON = {} |
protected ref array< ref TransmissionData > | m_aTransmissions = {} |
protected ref map< int, TransmissionData > | m_aTransmissionMap = new map<int, TransmissionData> |
protected ref array< ref TransmissionData > | m_aAdditionalSpeakers = {} |
protected PlayerManager | m_PlayerManager |
protected SCR_VONController | m_VONController |
protected SCR_InfoDisplaySlotHandler | m_SlotHandler |
protected SCR_HUDSlotUIComponent | m_HUDSlotComponent |
protected Widget | m_wVerticalLayout |
protected Widget | m_wSelectedHint |
protected ImageWidget | m_wSelectedHintIcon |
protected ImageWidget | m_wSelectedHintIconGlow |
protected TextWidget | m_wSelectedVON |
protected TextWidget | m_wSelectedText |
protected Widget | m_wTalkingAmountWidget |
protected Widget | m_wAdditionalSpeakersWidget |
protected RichTextWidget | m_wAdditionalSpeakersText |
class TransmissionData Attribute | ( | "{2EFEA2AF1F38E7F0}UI/Textures/Icons/icons_wrapperUI-64.m_sImageSet" | ) |
VON display of active outgoing and incoming transmissions.
override void DisplayControlledEntityChanged | ( | IEntity | from, |
IEntity | to | ||
) |
Definition at line 739 of file SCR_VonDisplay.c.
override void DisplayStartDraw | ( | IEntity | owner | ) |
Definition at line 730 of file SCR_VonDisplay.c.
override bool DisplayStartDrawInit | ( | IEntity | owner | ) |
Definition at line 722 of file SCR_VonDisplay.c.
override void DisplayStopDraw | ( | IEntity | owner | ) |
Definition at line 752 of file SCR_VonDisplay.c.
override void DisplayUpdate | ( | IEntity | owner, |
float | timeSlice | ||
) |
Definition at line 618 of file SCR_VonDisplay.c.
protected void FadeSelectedVONHint | ( | ) |
Definition at line 478 of file SCR_VonDisplay.c.
int GetActiveTransmissionsCount | ( | ) |
Count of active incoming transmissions.
Definition at line 117 of file SCR_VonDisplay.c.
protected Widget GetWidget | ( | ) |
Definition at line 155 of file SCR_VonDisplay.c.
void Attribute::HideTransmission | ( | ) |
Definition at line 22 of file SCR_VonDisplay.c.
protected void InitDisplay | ( | ) |
Initialize.
Definition at line 531 of file SCR_VonDisplay.c.
bool IsCapturingTransmisionActive | ( | ) |
Whether outgoing transmission is currently active.
Definition at line 124 of file SCR_VonDisplay.c.
protected void OnDestroyed | ( | Instigator | killer, |
IEntity | killerEntity | ||
) |
SCR_PlayerController Event.
Definition at line 517 of file SCR_VonDisplay.c.
protected void OnSlotUIResize | ( | ) |
Definition at line 566 of file SCR_VonDisplay.c.
protected void OnVONActiveToggled | ( | bool | directState, |
bool | channelState | ||
) |
SCR_VONController event -> Toggle microphone indication.
Definition at line 503 of file SCR_VonDisplay.c.
protected void OpacityFade | ( | TransmissionData | data, |
float | timeSlice, | ||
bool | isAdditional = false |
||
) |
Fade in/out elements
TransmissionData | is the subject |
timeSlice | is the OnFrame slice |
Definition at line 380 of file SCR_VonDisplay.c.
protected void SetHintIcon | ( | bool | isRadio | ) |
Set VON info hint icon type.
Definition at line 485 of file SCR_VonDisplay.c.
void ShowSelectedVONDisabledHint | ( | bool | isServerDisabled = false | ) |
Show hint displaying which VON method was selected
isServerDisabled | determines type of disable |
Definition at line 454 of file SCR_VonDisplay.c.
void ShowSelectedVONHint | ( | SCR_VONEntry | entry | ) |
Show hint displaying which VON method was selected.
Definition at line 424 of file SCR_VonDisplay.c.
void Attribute::TransmissionData | ( | Widget | base, |
int | iPlayerID | ||
) |
Definition at line 34 of file SCR_VonDisplay.c.
protected bool UpdateTransmission | ( | TransmissionData | data, |
BaseTransceiver | radioTransceiver, | ||
int | frequency, | ||
bool | IsReceiving | ||
) |
Update transmission data
TransmissionData | is the subject |
radioTransceiver | is the used transceiver for the transmission |
IsReceiving | is true when receiving transmission, false when transmitting |
isAdditionalSpeaker | is true when all incomming transmission widgets are full |
Definition at line 238 of file SCR_VonDisplay.c.
protected void UpdateWidgets | ( | ) |
Definition at line 582 of file SCR_VonDisplay.c.
const ref Color COLOR_WHITE = Color.FromSRGBA(255, 255, 255, 255) |
Definition at line 80 of file SCR_VonDisplay.c.
const float FADEIN_SPEED = 10 |
Definition at line 84 of file SCR_VonDisplay.c.
const float FADEOUT_SPEED = 5 |
Definition at line 85 of file SCR_VonDisplay.c.
const float FADEOUT_TIMER_THRESHOLD = 1 |
Definition at line 83 of file SCR_VonDisplay.c.
const int HEIGHT_DIVIDER = 35 |
Definition at line 87 of file SCR_VonDisplay.c.
const string ICON_DIRECT_SPEECH = "VON_directspeech" |
Definition at line 62 of file SCR_VonDisplay.c.
const string ICON_RADIO = "VON_frequency" |
Definition at line 64 of file SCR_VonDisplay.c.
const string ICON_RADIO_HINT = "VON_radio" |
Definition at line 63 of file SCR_VonDisplay.c.
const string ICON_SERVER_DISABLE_HINT = "server-locked" |
Definition at line 65 of file SCR_VonDisplay.c.
const string LABEL_CHANNEL_PLATOON = "#AR-VON_ChannelPlatoon-UC" |
Definition at line 69 of file SCR_VonDisplay.c.
const string LABEL_FREQUENCY_UNITS = "#AR-VON_FrequencyUnits_MHz" |
Definition at line 67 of file SCR_VonDisplay.c.
const string LABEL_UNKNOWN_SOURCE = "#AR-VON_UnknownSource" |
Definition at line 68 of file SCR_VonDisplay.c.
protected ref array<ref TransmissionData> m_aAdditionalSpeakers = {} |
Definition at line 98 of file SCR_VonDisplay.c.
protected ref map<int, TransmissionData> m_aTransmissionMap = new map<int, TransmissionData> |
Definition at line 97 of file SCR_VonDisplay.c.
protected ref array<ref TransmissionData> m_aTransmissions = {} |
Definition at line 96 of file SCR_VonDisplay.c.
protected ref array<Widget> m_aWidgetsIncomingVON = {} |
Definition at line 95 of file SCR_VonDisplay.c.
bool m_bForceUpdate |
Definition at line 6 of file SCR_VonDisplay.c.
bool m_bIsActive |
Definition at line 8 of file SCR_VonDisplay.c.
bool m_bIsAdditional |
Definition at line 10 of file SCR_VonDisplay.c.
bool m_bIsAnimating |
Definition at line 9 of file SCR_VonDisplay.c.
protected bool m_bIsChannelToggled |
Definition at line 92 of file SCR_VonDisplay.c.
protected bool m_bIsDirectToggled |
Definition at line 91 of file SCR_VonDisplay.c.
protected bool m_bIsVONDirectDisabled |
Definition at line 90 of file SCR_VonDisplay.c.
protected bool m_bIsVONUIDisabled |
Definition at line 89 of file SCR_VonDisplay.c.
bool m_bVisible |
Definition at line 7 of file SCR_VonDisplay.c.
IEntity m_Entity |
Definition at line 16 of file SCR_VonDisplay.c.
Faction m_Faction |
Definition at line 17 of file SCR_VonDisplay.c.
float m_fActiveTimeout |
Definition at line 13 of file SCR_VonDisplay.c.
float m_fAlpha |
Definition at line 12 of file SCR_VonDisplay.c.
float m_fFrequency |
Definition at line 14 of file SCR_VonDisplay.c.
float m_fQuality |
Definition at line 15 of file SCR_VonDisplay.c.
protected SCR_HUDSlotUIComponent m_HUDSlotComponent |
Definition at line 103 of file SCR_VonDisplay.c.
int m_iPlayerID |
Definition at line 11 of file SCR_VonDisplay.c.
protected int m_iTransmissionSlots = 4 |
Definition at line 82 of file SCR_VonDisplay.c.
protected ref TransmissionData m_OutTransmission |
Definition at line 94 of file SCR_VonDisplay.c.
protected PlayerManager m_PlayerManager |
Definition at line 100 of file SCR_VonDisplay.c.
BaseTransceiver m_RadioTransceiver |
Definition at line 18 of file SCR_VonDisplay.c.
protected string m_sImageSet |
Definition at line 54 of file SCR_VonDisplay.c.
protected string m_sImageSetGlow |
Definition at line 56 of file SCR_VonDisplay.c.
protected SCR_InfoDisplaySlotHandler m_SlotHandler |
Definition at line 102 of file SCR_VonDisplay.c.
protected string m_sReceivingTransmissionLayout |
Definition at line 59 of file SCR_VonDisplay.c.
protected SCR_VONController m_VONController |
Definition at line 101 of file SCR_VonDisplay.c.
protected RichTextWidget m_wAdditionalSpeakersText |
Definition at line 113 of file SCR_VonDisplay.c.
protected Widget m_wAdditionalSpeakersWidget |
Definition at line 112 of file SCR_VonDisplay.c.
Widget m_wBaseWidget |
Definition at line 4 of file SCR_VonDisplay.c.
ref SCR_VoNOverlay_ElementWidgets m_Widgets |
Definition at line 3 of file SCR_VonDisplay.c.
protected Widget m_wSelectedHint |
Definition at line 106 of file SCR_VonDisplay.c.
protected ImageWidget m_wSelectedHintIcon |
Definition at line 107 of file SCR_VonDisplay.c.
protected ImageWidget m_wSelectedHintIconGlow |
Definition at line 108 of file SCR_VonDisplay.c.
protected TextWidget m_wSelectedText |
Definition at line 110 of file SCR_VonDisplay.c.
protected TextWidget m_wSelectedVON |
Definition at line 109 of file SCR_VonDisplay.c.
protected Widget m_wTalkingAmountWidget |
Definition at line 111 of file SCR_VonDisplay.c.
protected Widget m_wVerticalLayout |
Definition at line 105 of file SCR_VonDisplay.c.
const int SELECTED_HINT_FADE_SPEED = 3000 |
Definition at line 86 of file SCR_VonDisplay.c.
const string WIDGET_INCOMING = "VonIncoming" |
Definition at line 70 of file SCR_VonDisplay.c.
const string WIDGET_OVERFLOW = "VonAdditional" |
Definition at line 72 of file SCR_VonDisplay.c.
const string WIDGET_OVERFLOW_TEXT = "number" |
Definition at line 73 of file SCR_VonDisplay.c.
const string WIDGET_SELECTED_ICON = "Selected_Icon" |
Definition at line 75 of file SCR_VonDisplay.c.
const string WIDGET_SELECTED_ICONGLOW = "Selected_IconGlow" |
Definition at line 76 of file SCR_VonDisplay.c.
const string WIDGET_SELECTED_ROOT = "VonSelected" |
Definition at line 74 of file SCR_VonDisplay.c.
const string WIDGET_SELECTED_TEXT = "Selected_Text" |
Definition at line 78 of file SCR_VonDisplay.c.
const string WIDGET_SELECTED_VON = "Selected_VONChannel" |
Definition at line 77 of file SCR_VonDisplay.c.
const string WIDGET_TRANSMIT = "VonTransmitting" |
Definition at line 71 of file SCR_VonDisplay.c.