◆ GetEncryptionKey()
| proto external string BaseRadioComponent.GetEncryptionKey |
( |
| ) |
|
- Returns
- Key used for transmission encryption
◆ GetOwner()
| proto external IEntity BaseRadioComponent.GetOwner |
( |
| ) |
|
- Returns
- Entity this component is atached to.
◆ GetTransceiver()
| proto external BaseTransceiver BaseRadioComponent.GetTransceiver |
( |
int | idx | ) |
|
- Returns
- Transceiver with given index.
◆ IsEditorRadio()
| proto external bool BaseRadioComponent.IsEditorRadio |
( |
| ) |
|
◆ IsPowered()
| proto external bool BaseRadioComponent.IsPowered |
( |
| ) |
|
- Returns
- Power state of whole radio
◆ OnEncryptionKeyChanged()
| void BaseRadioComponent.OnEncryptionKeyChanged |
( |
string | newKey | ) |
|
|
protected |
Event invoked on client and server when encryption key is changed.
◆ OnPowerChanged()
| void BaseRadioComponent.OnPowerChanged |
( |
bool | powered | ) |
|
|
protected |
Event invoked on client and server when power is changed.
◆ OnTansceiverFrequencyChanged()
| void BaseRadioComponent.OnTansceiverFrequencyChanged |
( |
BaseTransceiver | transceiver, |
|
|
int | oldFreq, |
|
|
int | newFreq ) |
|
protected |
Event invoked on client and server when frequency is changed.
◆ OnTansceiverRangeChanged()
| void BaseRadioComponent.OnTansceiverRangeChanged |
( |
BaseTransceiver | transceiver, |
|
|
float | oldRange, |
|
|
float | newRange ) |
|
protected |
Event invoked on client and server when range is changed.
◆ SetEncryptionKey()
| proto external void BaseRadioComponent.SetEncryptionKey |
( |
string | key | ) |
|
- Parameters
-
| key | Key used for transmission encryption |
◆ SetPower()
| proto external void BaseRadioComponent.SetPower |
( |
bool | powered | ) |
|
Sets the power state of whole radio.
◆ SetTransceiverFrequency()
| proto external void BaseRadioComponent.SetTransceiverFrequency |
( |
BaseTransceiver | transceiver, |
|
|
int | freq ) |
Set frequency of transceiver and sync with server.
◆ TransceiversCount()
| proto external int BaseRadioComponent.TransceiversCount |
( |
| ) |
|
- Returns
- Number of transceivers.
◆ m_OnEncryptionKeyChanged
| ref ScriptInvoker<string> BaseRadioComponent.m_OnEncryptionKeyChanged = new ScriptInvoker<string>() |
◆ m_OnPowerChanged
| ref ScriptInvoker<bool> BaseRadioComponent.m_OnPowerChanged = new ScriptInvoker<bool>() |
◆ m_OnTansceiverFrequencyChangedInvoker
| ref ScriptInvoker<BaseTransceiver, int, int> BaseRadioComponent.m_OnTansceiverFrequencyChangedInvoker = new ScriptInvoker<BaseTransceiver, int, int>() |
◆ m_OnTansceiverRangeChangedInvoker
| ref ScriptInvoker<BaseTransceiver, float, float> BaseRadioComponent.m_OnTansceiverRangeChangedInvoker = new ScriptInvoker<BaseTransceiver, float, float>() |
The documentation for this interface was generated from the following file:
- Game/generated/Components/BaseRadioComponent.c