Scripted VON input and control, attached to SCR_PlayerController.
More...
|
void | SetVONProximity (bool activate) |
|
void | SetVONProximityToggle (bool activate) |
|
void | SetVONBroadcast (bool activate, EVONTransmitType transmitType=EVONTransmitType.CHANNEL) |
|
void | SetVONLongRange (bool longRange, bool restorePrevious=true) |
|
void | ActionVONProximity (float value, EActionTrigger reason=EActionTrigger.UP) |
|
void | ActionVONProximityToggle (float value, EActionTrigger reason=EActionTrigger.UP) |
|
void | ActionVONBroadcast (float value, EActionTrigger reason=EActionTrigger.UP) |
|
void | ActionVONTransceiverCycle (float value, EActionTrigger reason=EActionTrigger.UP) |
|
void | TransceiverCycle () |
|
void | ActionVONLongRangeToggle (float value, EActionTrigger reason=EActionTrigger.UP) |
|
void | ActivateVON (EVONTransmitType transmitType) |
| VON activation.
|
|
void | DeactivateVON (EVONTransmitType transmitType=EVONTransmitType.NONE) |
| Current VON deactivation.
|
|
SCR_VONEntry | GetEntryByTransmitType (EVONTransmitType type) |
|
void | SetActiveTransmit (notnull SCR_VONEntry entry) |
| Set transmission method depending on entry type when starting VON transmit.
|
|
void | ResetVON () |
|
void | OnControlledEntityChanged (IEntity from, IEntity to) |
| SCR_PlayerController Event Used to reinit VON when new entity is controlled.
|
|
void | OnPlayerDeleted (int playerId, IEntity player) |
| SCR_BaseGameMode event Used to unregister VON for deleted players.
|
|
void | OnPauseMenuOpened () |
| PauseMenuUI Event.
|
|
void | OnPauseMenuClosed () |
| PauseMenuUI Event.
|
|
void | OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
|
void | InitEncryptionKey () |
|
void | Init (IEntity owner) |
| Initialize component, done once per controller.
|
|
void | Cleanup () |
| Cleanup component.
|
|
void | UpdateDebug () |
| Debug.
|
|
override void | OnPostInit (IEntity owner) |
|
override void | EOnDeactivate (IEntity owner) |
|
void | UpdateSystemState () |
|
void | ConnectToHandleUpdateVONControllersSystem () |
|
void | DisconnectFromHandleUpdateVONControllersSystem () |
|
Scripted VON input and control, attached to SCR_PlayerController.
◆ ActionVONBroadcast()
void SCR_VONController.ActionVONBroadcast |
( |
float |
value, |
|
|
EActionTrigger |
reason = EActionTrigger::UP |
|
) |
| |
|
protected |
◆ ActionVONLongRangeToggle()
void SCR_VONController.ActionVONLongRangeToggle |
( |
float |
value, |
|
|
EActionTrigger |
reason = EActionTrigger::UP |
|
) |
| |
|
protected |
◆ ActionVONProximity()
void SCR_VONController.ActionVONProximity |
( |
float |
value, |
|
|
EActionTrigger |
reason = EActionTrigger::UP |
|
) |
| |
|
protected |
◆ ActionVONProximityToggle()
void SCR_VONController.ActionVONProximityToggle |
( |
float |
value, |
|
|
EActionTrigger |
reason = EActionTrigger::UP |
|
) |
| |
|
protected |
◆ ActionVONTransceiverCycle()
void SCR_VONController.ActionVONTransceiverCycle |
( |
float |
value, |
|
|
EActionTrigger |
reason = EActionTrigger::UP |
|
) |
| |
|
protected |
◆ ActivateVON()
void SCR_VONController.ActivateVON |
( |
EVONTransmitType |
transmitType | ) |
|
|
protected |
VON activation.
- Parameters
-
transmitType | type of entry to be activated |
◆ AddEntry()
Add new VON entry Set as active entry if m_ActiveEntry is null.
- Parameters
-
◆ AssignVONComponent()
bool SCR_VONController.AssignVONComponent |
( |
| ) |
|
Assign VON comp by fetching it from controlled entity.
◆ Cleanup()
void SCR_VONController.Cleanup |
( |
| ) |
|
|
protected |
◆ ConnectToHandleUpdateVONControllersSystem()
void SCR_VONController.ConnectToHandleUpdateVONControllersSystem |
( |
| ) |
|
|
protected |
◆ DeactivateVON()
void SCR_VONController.DeactivateVON |
( |
EVONTransmitType |
transmitType = EVONTransmitType::NONE | ) |
|
|
protected |
Current VON deactivation.
◆ DisconnectFromHandleUpdateVONControllersSystem()
void SCR_VONController.DisconnectFromHandleUpdateVONControllersSystem |
( |
| ) |
|
|
protected |
◆ EOnDeactivate()
override void SCR_VONController.EOnDeactivate |
( |
IEntity |
owner | ) |
|
|
protected |
◆ GetActiveEntry()
Get active entry for outgoing transmission.
- Returns
- active entry
◆ GetDisplay()
◆ GetEntryByTransmitType()
SCR_VONEntry SCR_VONController.GetEntryByTransmitType |
( |
EVONTransmitType |
type | ) |
|
|
protected |
◆ GetOnEntriesActiveChangedInvoker()
ScriptInvokerBase< OnEntriesChanged > SCR_VONController.GetOnEntriesActiveChangedInvoker |
( |
| ) |
|
◆ GetOnEntriesChangedInvoker()
ScriptInvokerBase< OnEntriesChanged > SCR_VONController.GetOnEntriesChangedInvoker |
( |
| ) |
|
◆ GetOnVONActiveToggledInvoker()
ScriptInvokerBase< OnVONActiveToggled > SCR_VONController.GetOnVONActiveToggledInvoker |
( |
| ) |
|
◆ GetVONComponent()
Get active VON component for transmit.
◆ GetVONEntries()
int SCR_VONController.GetVONEntries |
( |
inout array< ref SCR_VONEntry > |
entries | ) |
|
Get current entries.
- Returns
- count of entries
◆ GetVONEntryCount()
int SCR_VONController.GetVONEntryCount |
( |
| ) |
|
◆ GetVONMenu()
◆ Init()
void SCR_VONController.Init |
( |
IEntity |
owner | ) |
|
|
protected |
Initialize component, done once per controller.
◆ InitEncryptionKey()
void SCR_VONController.InitEncryptionKey |
( |
| ) |
|
|
protected |
◆ IsLRRAvailable()
bool SCR_VONController.IsLRRAvailable |
( |
| ) |
|
Long range raido entry is available.
◆ IsUsingLRR()
bool SCR_VONController.IsUsingLRR |
( |
| ) |
|
◆ IsVONDisabled()
bool SCR_VONController.IsVONDisabled |
( |
| ) |
|
◆ OnControlledEntityChanged()
void SCR_VONController.OnControlledEntityChanged |
( |
IEntity |
from, |
|
|
IEntity |
to |
|
) |
| |
|
protected |
◆ OnDelete()
override void SCR_VONController.OnDelete |
( |
IEntity |
owner | ) |
|
◆ OnLifeStateChanged()
◆ OnPauseMenuClosed()
void SCR_VONController.OnPauseMenuClosed |
( |
| ) |
|
|
protected |
◆ OnPauseMenuOpened()
void SCR_VONController.OnPauseMenuOpened |
( |
| ) |
|
|
protected |
◆ OnPlayerDeleted()
void SCR_VONController.OnPlayerDeleted |
( |
int |
playerId, |
|
|
IEntity |
player |
|
) |
| |
|
protected |
◆ OnPostInit()
override void SCR_VONController.OnPostInit |
( |
IEntity |
owner | ) |
|
|
protected |
◆ RemoveEntry()
Remove existing VON entry.
Sets m_ActiveEntry to null, when removing active entry
- Parameters
-
◆ ResetVON()
void SCR_VONController.ResetVON |
( |
| ) |
|
|
protected |
◆ SetActiveTransmit()
void SCR_VONController.SetActiveTransmit |
( |
notnull SCR_VONEntry |
entry | ) |
|
|
protected |
Set transmission method depending on entry type when starting VON transmit.
◆ SetDisplay()
◆ SetEntryActive()
void SCR_VONController.SetEntryActive |
( |
SCR_VONEntry |
entry, |
|
|
bool |
setFromMenu = false |
|
) |
| |
Set entry as active for outgoing transmission.
- Parameters
-
entry | is subject entry |
setFromMenu | determines whether this was performed by menu selection |
◆ SetVONBroadcast()
void SCR_VONController.SetVONBroadcast |
( |
bool |
activate, |
|
|
EVONTransmitType |
transmitType = EVONTransmitType::CHANNEL |
|
) |
| |
|
protected |
◆ SetVONComponent()
Set component for transmit of VON.
- Parameters
-
◆ SetVONDisabled()
bool SCR_VONController.SetVONDisabled |
( |
bool |
state | ) |
|
Disables ability to transmit and related VON UI.
- Parameters
-
- Returns
- true if this call changed the state to target, false if the state was target state already
◆ SetVONLongRange()
void SCR_VONController.SetVONLongRange |
( |
bool |
longRange, |
|
|
bool |
restorePrevious = true |
|
) |
| |
|
protected |
◆ SetVONProximity()
void SCR_VONController.SetVONProximity |
( |
bool |
activate | ) |
|
|
protected |
◆ SetVONProximityToggle()
void SCR_VONController.SetVONProximityToggle |
( |
bool |
activate | ) |
|
|
protected |
◆ TransceiverCycle()
void SCR_VONController.TransceiverCycle |
( |
| ) |
|
|
protected |
◆ Update()
void SCR_VONController.Update |
( |
float |
timeSlice | ) |
|
◆ UpdateDebug()
void SCR_VONController.UpdateDebug |
( |
| ) |
|
|
protected |
◆ UpdateSystemState()
void SCR_VONController.UpdateSystemState |
( |
| ) |
|
|
protected |
◆ UpdateUnconsciousVONPermitted()
static void SCR_VONController.UpdateUnconsciousVONPermitted |
( |
| ) |
|
|
static |
◆ ACTION_CHANNEL
const string SCR_VONController.ACTION_CHANNEL = "VONChannel" |
|
staticprotected |
◆ ACTION_DIRECT
const string SCR_VONController.ACTION_DIRECT = "VONDirect" |
|
staticprotected |
◆ ACTION_DIRECT_TOGGLE
const string SCR_VONController.ACTION_DIRECT_TOGGLE = "VONDirectToggle" |
|
staticprotected |
◆ ACTION_LONG_RANGE_TOGGLE
const string SCR_VONController.ACTION_LONG_RANGE_TOGGLE = "VONLongRangeToggle" |
|
staticprotected |
◆ ACTION_TRANSCEIVER_CYCLE
const string SCR_VONController.ACTION_TRANSCEIVER_CYCLE = "VONTransceiverCycle" |
|
staticprotected |
◆ m_ActiveEntry
◆ m_aEntries
ref array<ref SCR_VONEntry> SCR_VONController.m_aEntries = {} |
|
protected |
◆ m_bIsActive
bool SCR_VONController.m_bIsActive |
|
protected |
◆ m_bIsDisabled
bool SCR_VONController.m_bIsDisabled |
|
protected |
◆ m_bIsLongRangeToggled
bool SCR_VONController.m_bIsLongRangeToggled |
|
protected |
◆ m_bIsPauseDisabled
bool SCR_VONController.m_bIsPauseDisabled |
|
protected |
◆ m_bIsToggledDirect
bool SCR_VONController.m_bIsToggledDirect |
|
protected |
◆ m_bIsUnconscious
bool SCR_VONController.m_bIsUnconscious |
|
protected |
◆ m_DirectSpeechEntry
◆ m_eLifeState
◆ m_eVONType
EVONTransmitType SCR_VONController.m_eVONType |
|
protected |
◆ m_fToggleOffDelay
float SCR_VONController.m_fToggleOffDelay |
|
protected |
◆ m_InputManager
InputManager SCR_VONController.m_InputManager |
|
protected |
◆ m_LongRangeEntry
◆ m_OnEntriesActiveChanged
ref ScriptInvokerBase<OnEntriesChanged> SCR_VONController.m_OnEntriesActiveChanged = new ScriptInvokerBase<OnEntriesChanged>() |
|
protected |
◆ m_OnEntriesChanged
ref ScriptInvokerBase<OnEntriesChanged> SCR_VONController.m_OnEntriesChanged = new ScriptInvokerBase<OnEntriesChanged>() |
|
protected |
◆ m_OnVONActiveToggled
ref ScriptInvokerBase<OnVONActiveToggled> SCR_VONController.m_OnVONActiveToggled = new ScriptInvokerBase<OnVONActiveToggled>() |
|
protected |
◆ m_sActiveHoldAction
string SCR_VONController.m_sActiveHoldAction |
|
protected |
◆ m_SavedEntry
◆ m_sLocalEncryptionKey
string SCR_VONController.m_sLocalEncryptionKey |
|
protected |
◆ m_VONComp
◆ m_VONDisplay
◆ m_VONMenu
◆ s_bIsInit
bool SCR_VONController.s_bIsInit |
|
staticprotected |
◆ s_bUnconsciousVONPermitted
bool SCR_VONController.s_bUnconsciousVONPermitted = true |
|
staticprotected |
◆ TOGGLE_OFF_DELAY
const float SCR_VONController.TOGGLE_OFF_DELAY = 0.5 |
|
staticprotected |
◆ VON_CONTEXT
const string SCR_VONController.VON_CONTEXT = "VONContext" |
|
staticprotected |
◆ VON_MENU_OPENING_CONTEXT
const string SCR_VONController.VON_MENU_OPENING_CONTEXT = "VONMenuOpeningContext" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/VON/SCR_VONController.c