Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BaseTransceiver Interface Reference
Inheritance diagram for BaseTransceiver:
[legend]

Public Member Functions

proto external int GetFrequency ()
 
proto external int GetMinFrequency ()
 Returns maximum tunable frequency of the radio.
 
proto external int GetMaxFrequency ()
 Returns minimum tunable frequency of the radio.
 
proto external void SetFrequency (int freq)
 Sets frequency.
 
proto external int GetFrequencyResolution ()
 Frequency resolution for all transceivers.
 
proto external float GetRange ()
 Gets maximum transmitting range of radio.
 
proto external void SetRange (float range)
 Sets maximum transmitting range of radio.
 
proto external BaseRadioComponent GetRadio ()
 
proto external void BeginTransmission (BaseRadioMessage message)
 

Member Function Documentation

◆ BeginTransmission()

proto external void BaseTransceiver.BeginTransmission ( BaseRadioMessage  message)

◆ GetFrequency()

proto external int BaseTransceiver.GetFrequency ( )

◆ GetFrequencyResolution()

proto external int BaseTransceiver.GetFrequencyResolution ( )

Frequency resolution for all transceivers.

Returns
Frequency in KHz.

◆ GetMaxFrequency()

proto external int BaseTransceiver.GetMaxFrequency ( )

Returns minimum tunable frequency of the radio.

Returns
Frequency in KHz.

◆ GetMinFrequency()

proto external int BaseTransceiver.GetMinFrequency ( )

Returns maximum tunable frequency of the radio.

Returns
Frequency in KHz.

◆ GetRadio()

proto external BaseRadioComponent BaseTransceiver.GetRadio ( )

◆ GetRange()

proto external float BaseTransceiver.GetRange ( )

Gets maximum transmitting range of radio.

Returns
Distance in meters.

◆ SetFrequency()

proto external void BaseTransceiver.SetFrequency ( int  freq)

Sets frequency.

Doesn't support proxies

Parameters
[in]freqFrequency in KHz.

◆ SetRange()

proto external void BaseTransceiver.SetRange ( float  range)

Sets maximum transmitting range of radio.

Has effect only on owner (server).

Parameters
rangeDistance in meters. Must be > 1m otherwise 1m is used.

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