![]() |
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 | SCR_VONControllerClass |
Typedefs | |
| typedef func | OnVONActiveToggled |
| typedef func | OnEntriesChanged |
Enumerations | |
| enum | EVONTransmitType |
| Type of a players current VON transmission. More... | |
Functions | |
| enum EVONTransmitType | OnVONActiveToggled (bool isToggledDirect, bool isToggledChannel) |
| SCR_VONController event -> Toggle microphone indication. More... | |
| void | OnEntriesChanged (SCR_VONEntry entry, bool state) |
| ScriptInvokerBase< OnEntriesChanged > | GetOnEntriesChangedInvoker () |
| ScriptInvokerBase< OnEntriesChanged > | GetOnEntriesActiveChangedInvoker () |
| ScriptInvokerBase< OnVONActiveToggled > | GetOnVONActiveToggledInvoker () |
| void | SetDisplay (SCR_VonDisplay display) |
| SCR_VonDisplay | GetDisplay () |
| SCR_VONMenu | GetVONMenu () |
| bool | SetVONDisabled (bool state) |
| bool | IsVONDisabled () |
| Is VON disabled. More... | |
| SCR_VoNComponent | GetVONComponent () |
| Get active VON component for transmit. More... | |
| void | SetVONComponent (SCR_VoNComponent VONComp) |
| int | GetVONEntries (inout array< ref SCR_VONEntry > entries) |
| int | GetVONEntryCount () |
| Get number of entries. More... | |
| SCR_VONEntry | GetActiveEntry () |
| bool | IsUsingLRR () |
| Using long range radio. More... | |
| bool | IsLRRAvailable () |
| Long range raido entry is available. More... | |
| void | SetEntryActive (SCR_VONEntry entry, bool setFromMenu=false) |
| void | AddEntry (SCR_VONEntry entry) |
| void | RemoveEntry (SCR_VONEntry entry) |
| protected void | SetGamepadLRRMode (bool state, bool isSwitch=false) |
| Sets long rang radio mode for gamepad input scheme. More... | |
| protected void | OnVONDirect (float value, EActionTrigger reason) |
| VON direct speech listener callback. More... | |
| protected void | OnVONChannel (float value, EActionTrigger reason) |
| VON channel speech listener callback. More... | |
| protected void | OnVONLongRange (float value, EActionTrigger reason) |
| VON channel speech listener callback for long range radios. More... | |
| protected void | OnVONGamepad (float value, EActionTrigger reason) |
| VON channel speech listener callback. More... | |
| protected void | OnVONLongRangeGamepadToggle (float value, EActionTrigger reason) |
| protected void | OnVONToggle (float value, EActionTrigger reason) |
| VON toggle val 0 = off / 1 = direct / 2 = channel. More... | |
| protected void | OnVONToggleGamepad (float value, EActionTrigger reason) |
| VON toggle controller. More... | |
| protected void | OnVONSwitch (float value, EActionTrigger reason) |
| VON switch between direct/channel mode. More... | |
| protected void | VONDirect (bool activate) |
| protected void | VONChannel (bool activate) |
| protected void | VONLongRange (bool activate) |
| protected void | ActivateVON (EVONTransmitType transmitType) |
| protected void | DeactivateVON (EVONTransmitType transmitType=EVONTransmitType.NONE) |
| Current VON deactivation. More... | |
| protected SCR_VONEntry | GetEntryByTransmitType (EVONTransmitType type) |
| protected void | SetActiveTransmit (notnull SCR_VONEntry entry) |
| Set transmission method depending on entry type when starting VON transmit. More... | |
| protected void | TimeoutVON () |
| VON hold timeout, stops active von transmission in case of specific condition which would prevent for it to end normally. More... | |
| protected void | OnControlledEntityChanged (IEntity from, IEntity to) |
| Runs every time the controlled entity has been changed. More... | |
| protected void | OnDestroyed (Instigator killer, IEntity killerEntity) |
| protected void | OnPlayerDeleted (int playerId, IEntity player) |
| protected void | OnInputDeviceIsGamepad (bool isGamepad) |
| Game Event. More... | |
| protected void | OnPauseMenuOpened () |
| PauseMenuUI Event. More... | |
| protected void | OnPauseMenuClosed () |
| PauseMenuUI Event. More... | |
| bool | AssignVONComponent () |
| Assign VON comp by fetching it from controlled entity. More... | |
| void | OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
| Will be called when the life state of the character changes. More... | |
| protected void | InitEncryptionKey () |
| protected void | Init (IEntity owner) |
| Initialize component, done once per controller. More... | |
| protected void | Cleanup () |
| Cleanup component. More... | |
| protected void | UpdateDebug () |
| Debug. More... | |
| override protected void | OnPostInit (IEntity owner) |
| Editable Mine. More... | |
| override protected void | EOnDeactivate (IEntity owner) |
| protected void | UpdateSystemState () |
| protected void | ConnectToHandleUpdateVONControllersSystem () |
| protected void | DisconnectFromHandleUpdateVONControllersSystem () |
| void | Update (float timeSlice) |
| override void | OnDelete (IEntity owner) |
Variables | |
| NONE | |
| DIRECT | |
| CHANNEL | |
| LONG_RANGE | |
| SCR_VONControllerClass | VON_MENU_OPENING_CONTEXT = "VONMenuOpeningContext" |
| Scripted VON input and control, attached to SCR_PlayerController. More... | |
| protected ref SCR_VONMenu | m_VONMenu |
| const protected string | VON_DIRECT_HOLD = "VONDirect" |
| const protected string | VON_CHANNEL_HOLD = "VONChannel" |
| const protected string | VON_LONG_RANGE_HOLD = "VONLongRange" |
| const protected float | TOGGLE_OFF_DELAY = 0.5 |
| protected bool | m_bIsDisabled |
| protected bool | m_bIsPauseDisabled |
| protected bool | m_bIsUnconscious |
| protected bool | m_bIsActive |
| protected bool | m_bIsToggledDirect |
| protected bool | m_bIsToggledChannel |
| protected bool | m_bIsUsingGamepad |
| protected bool | m_bIsActiveModeDirect |
| protected bool | m_bIsActiveModeLong |
| protected float | m_fToggleOffDelay |
| protected string | m_sActiveHoldAction |
| protected string | m_sLocalEncryptionKey |
| protected EVONTransmitType | m_eVONType |
| protected InputManager | m_InputManager |
| protected SCR_VoNComponent | m_VONComp |
| protected SCR_VonDisplay | m_VONDisplay |
| protected SCR_VONEntry | m_ActiveEntry |
| protected SCR_VONEntry | m_LongRangeEntry |
| protected SCR_VONEntry | m_SavedEntry |
| protected ref SCR_VONEntry | m_DirectSpeechEntry |
| protected ref array< ref SCR_VONEntry > | m_aEntries = {} |
| protected ref ScriptInvokerBase< OnEntriesChanged > | m_OnEntriesChanged = new ScriptInvokerBase<OnEntriesChanged>() |
| protected ref ScriptInvokerBase< OnEntriesChanged > | m_OnEntriesActiveChanged = new ScriptInvokerBase<OnEntriesChanged>() |
| protected ref ScriptInvokerBase< OnVONActiveToggled > | m_OnVONActiveToggled = new ScriptInvokerBase<OnVONActiveToggled>() |
| typedef func OnEntriesChanged |
Definition at line 17 of file SCR_VONController.c.
| typedef func OnVONActiveToggled |
Definition at line 14 of file SCR_VONController.c.
| enum EVONTransmitType |
Type of a players current VON transmission.
Definition at line 3 of file SCR_VONController.c.
| protected void ActivateVON | ( | EVONTransmitType | transmitType | ) |
VON activation
| entry | is the subject VON entry |
Definition at line 508 of file SCR_VONController.c.
| void AddEntry | ( | SCR_VONEntry | entry | ) |
Add new VON entry Set as active entry if m_ActiveEntry is null
| entry | is subject entry |
Definition at line 222 of file SCR_VONController.c.
| bool AssignVONComponent | ( | ) |
Assign VON comp by fetching it from controlled entity.
Definition at line 714 of file SCR_VONController.c.
| protected void Cleanup | ( | ) |
Cleanup component.
Definition at line 807 of file SCR_VONController.c.
| protected void ConnectToHandleUpdateVONControllersSystem | ( | ) |
Definition at line 896 of file SCR_VONController.c.
| protected void DeactivateVON | ( | EVONTransmitType | transmitType = EVONTransmitType.NONE | ) |
Current VON deactivation.
Definition at line 536 of file SCR_VONController.c.
| protected void DisconnectFromHandleUpdateVONControllersSystem | ( | ) |
Definition at line 907 of file SCR_VONController.c.
| SCR_VONEntry GetActiveEntry | ( | ) |
Get active entry for outgoing transmission
Definition at line 163 of file SCR_VONController.c.
| SCR_VonDisplay GetDisplay | ( | ) |
Definition at line 91 of file SCR_VONController.c.
| protected SCR_VONEntry GetEntryByTransmitType | ( | EVONTransmitType | type | ) |
Definition at line 556 of file SCR_VONController.c.
| ScriptInvokerBase<OnEntriesChanged> GetOnEntriesActiveChangedInvoker | ( | ) |
Definition at line 73 of file SCR_VONController.c.
| ScriptInvokerBase<OnEntriesChanged> GetOnEntriesChangedInvoker | ( | ) |
Definition at line 67 of file SCR_VONController.c.
| ScriptInvokerBase<OnVONActiveToggled> GetOnVONActiveToggledInvoker | ( | ) |
Definition at line 79 of file SCR_VONController.c.
| int GetVONEntries | ( | inout array< ref SCR_VONEntry > | entries | ) |
| int GetVONEntryCount | ( | ) |
Get number of entries.
Definition at line 155 of file SCR_VONController.c.
| SCR_VONMenu GetVONMenu | ( | ) |
Definition at line 97 of file SCR_VONController.c.
| protected void Init | ( | IEntity | owner | ) |
Initialize component, done once per controller.
Definition at line 756 of file SCR_VONController.c.
| protected void InitEncryptionKey | ( | ) |
Definition at line 743 of file SCR_VONController.c.
| bool IsLRRAvailable | ( | ) |
Long range raido entry is available.
Definition at line 180 of file SCR_VONController.c.
| bool IsUsingLRR | ( | ) |
Using long range radio.
Definition at line 170 of file SCR_VONController.c.
| bool IsVONDisabled | ( | ) |
Is VON disabled.
Definition at line 118 of file SCR_VONController.c.
| protected void OnDestroyed | ( | Instigator | killer, |
| IEntity | killerEntity | ||
| ) |
SCR_PlayerController Event Used to deactivate VON for dead players
Definition at line 658 of file SCR_VONController.c.
| void OnEntriesChanged | ( | SCR_VONEntry | entry, |
| bool | state | ||
| ) |
| protected void OnInputDeviceIsGamepad | ( | bool | isGamepad | ) |
Game Event.
Definition at line 683 of file SCR_VONController.c.
| protected void OnPauseMenuClosed | ( | ) |
PauseMenuUI Event.
Definition at line 704 of file SCR_VONController.c.
| protected void OnPauseMenuOpened | ( | ) |
PauseMenuUI Event.
Definition at line 696 of file SCR_VONController.c.
| protected void OnPlayerDeleted | ( | int | playerId, |
| IEntity | player | ||
| ) |
SCR_BaseGameMode event Used to unregister VON for deleted players
Definition at line 667 of file SCR_VONController.c.
| enum EVONTransmitType OnVONActiveToggled | ( | bool | isToggledDirect, |
| bool | isToggledChannel | ||
| ) |
SCR_VONController event -> Toggle microphone indication.
Definition at line 503 of file SCR_VonDisplay.c.
| protected void OnVONChannel | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON channel speech listener callback.
Definition at line 290 of file SCR_VONController.c.
| protected void OnVONDirect | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON direct speech listener callback.
Definition at line 280 of file SCR_VONController.c.
| protected void OnVONGamepad | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON channel speech listener callback.
Definition at line 310 of file SCR_VONController.c.
| protected void OnVONLongRange | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON channel speech listener callback for long range radios.
Definition at line 300 of file SCR_VONController.c.
| protected void OnVONLongRangeGamepadToggle | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
Definition at line 345 of file SCR_VONController.c.
| protected void OnVONSwitch | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON switch between direct/channel mode.
Definition at line 410 of file SCR_VONController.c.
| protected void OnVONToggle | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON toggle val 0 = off / 1 = direct / 2 = channel.
Definition at line 355 of file SCR_VONController.c.
| protected void OnVONToggleGamepad | ( | float | value, |
| EActionTrigger | reason | ||
| ) |
VON toggle controller.
Definition at line 400 of file SCR_VONController.c.
| void RemoveEntry | ( | SCR_VONEntry | entry | ) |
Remove existing VON entry. Sets m_ActiveEntry to null, when removing active entry
| entry | is subject entry |
Definition at line 240 of file SCR_VONController.c.
| protected void SetActiveTransmit | ( | notnull SCR_VONEntry | entry | ) |
Set transmission method depending on entry type when starting VON transmit.
Definition at line 575 of file SCR_VONController.c.
| void SetDisplay | ( | SCR_VonDisplay | display | ) |
Definition at line 85 of file SCR_VONController.c.
| void SetEntryActive | ( | SCR_VONEntry | entry, |
| bool | setFromMenu = false |
||
| ) |
Set entry as active for outgoing transmission
| entry | is subject entry |
| setFromMenu | determines whether this was performed by menu selection |
Definition at line 189 of file SCR_VONController.c.
| protected void SetGamepadLRRMode | ( | bool | state, |
| bool | isSwitch = false |
||
| ) |
Sets long rang radio mode for gamepad input scheme.
Definition at line 270 of file SCR_VONController.c.
| void SetVONComponent | ( | SCR_VoNComponent | VONComp | ) |
Set component for transmit of VON
| VONComp | is the subject |
Definition at line 133 of file SCR_VONController.c.
| bool SetVONDisabled | ( | bool | state | ) |
Disables ability to transmit and related VON UI
| state | is the target state |
Definition at line 106 of file SCR_VONController.c.
| protected void TimeoutVON | ( | ) |
VON hold timeout, stops active von transmission in case of specific condition which would prevent for it to end normally.
Definition at line 595 of file SCR_VONController.c.
| void Update | ( | float | timeSlice | ) |
| [in] | timeSlice |
Definition at line 918 of file SCR_VONController.c.
| protected void UpdateDebug | ( | ) |
Debug.
Definition at line 850 of file SCR_VONController.c.
| protected void UpdateSystemState | ( | ) |
Definition at line 887 of file SCR_VONController.c.
| protected void VONChannel | ( | bool | activate | ) |
Definition at line 446 of file SCR_VONController.c.
| protected void VONDirect | ( | bool | activate | ) |
Definition at line 426 of file SCR_VONController.c.
| protected void VONLongRange | ( | bool | activate | ) |
Definition at line 470 of file SCR_VONController.c.
| CHANNEL |
Definition at line 4 of file SCR_VONController.c.
| @ DIRECT |
Definition at line 3 of file SCR_VONController.c.
| LONG_RANGE |
Definition at line 6 of file SCR_VONController.c.
| protected SCR_VONEntry m_ActiveEntry |
Definition at line 55 of file SCR_VONController.c.
| protected ref array<ref SCR_VONEntry> m_aEntries = {} |
Definition at line 59 of file SCR_VONController.c.
| protected bool m_bIsActive |
Definition at line 41 of file SCR_VONController.c.
| protected bool m_bIsActiveModeDirect |
Definition at line 45 of file SCR_VONController.c.
| protected bool m_bIsActiveModeLong |
Definition at line 46 of file SCR_VONController.c.
| protected bool m_bIsDisabled |
Definition at line 38 of file SCR_VONController.c.
| protected bool m_bIsPauseDisabled |
Definition at line 39 of file SCR_VONController.c.
| protected bool m_bIsToggledChannel |
Definition at line 43 of file SCR_VONController.c.
| protected bool m_bIsToggledDirect |
Definition at line 42 of file SCR_VONController.c.
| protected bool m_bIsUnconscious |
Definition at line 40 of file SCR_VONController.c.
| protected bool m_bIsUsingGamepad |
Definition at line 44 of file SCR_VONController.c.
| protected ref SCR_VONEntry m_DirectSpeechEntry |
Definition at line 58 of file SCR_VONController.c.
| protected EVONTransmitType m_eVONType |
Definition at line 50 of file SCR_VONController.c.
| protected float m_fToggleOffDelay |
Definition at line 47 of file SCR_VONController.c.
| protected InputManager m_InputManager |
Definition at line 51 of file SCR_VONController.c.
| protected SCR_VONEntry m_LongRangeEntry |
Definition at line 56 of file SCR_VONController.c.
| protected ref ScriptInvokerBase<OnEntriesChanged> m_OnEntriesActiveChanged = new ScriptInvokerBase<OnEntriesChanged>() |
Definition at line 63 of file SCR_VONController.c.
| protected ref ScriptInvokerBase<OnEntriesChanged> m_OnEntriesChanged = new ScriptInvokerBase<OnEntriesChanged>() |
Definition at line 62 of file SCR_VONController.c.
| protected ref ScriptInvokerBase<OnVONActiveToggled> m_OnVONActiveToggled = new ScriptInvokerBase<OnVONActiveToggled>() |
Definition at line 64 of file SCR_VONController.c.
| protected string m_sActiveHoldAction |
Definition at line 48 of file SCR_VONController.c.
| protected SCR_VONEntry m_SavedEntry |
Definition at line 57 of file SCR_VONController.c.
| protected string m_sLocalEncryptionKey |
Definition at line 49 of file SCR_VONController.c.
| protected SCR_VoNComponent m_VONComp |
Definition at line 53 of file SCR_VONController.c.
| protected SCR_VonDisplay m_VONDisplay |
Definition at line 54 of file SCR_VONController.c.
| protected ref SCR_VONMenu m_VONMenu |
Definition at line 30 of file SCR_VONController.c.
| @ NONE |
Definition at line 2 of file SCR_VONController.c.
| const protected float TOGGLE_OFF_DELAY = 0.5 |
Definition at line 35 of file SCR_VONController.c.
| const protected string VON_CHANNEL_HOLD = "VONChannel" |
Definition at line 33 of file SCR_VONController.c.
| const protected string VON_DIRECT_HOLD = "VONDirect" |
Definition at line 32 of file SCR_VONController.c.
| const protected string VON_LONG_RANGE_HOLD = "VONLongRange" |
Definition at line 34 of file SCR_VONController.c.
| SCR_VONControllerClass VON_MENU_OPENING_CONTEXT = "VONMenuOpeningContext" |
Scripted VON input and control, attached to SCR_PlayerController.